修改商家端商品发布样式问题,修改楼层装修pc端出现的问题,修改品牌中出现的bug

This commit is contained in:
lemon橪
2021-06-17 11:40:27 +08:00
parent 7711e5ca7b
commit 0cbcb4d37a
7 changed files with 189 additions and 166 deletions

View File

@@ -82,7 +82,7 @@
</template>
<script>
import {getManagerBrandPage, addBrand, disableBrand} from "@/api/goods";
import {getManagerBrandPage, addBrand,updateBrand, disableBrand} from "@/api/goods";
import uploadPicInput from "@/views/my-components/lili/upload-pic-input";
export default {
@@ -323,7 +323,7 @@
});
} else {
// 编辑
addBrand(this.form).then((res) => {
updateBrand(this.form).then((res) => {
this.submitLoading = false;
if (res.success) {
this.$Message.success("操作成功");

View File

@@ -376,6 +376,7 @@ export default {
});
},
getAllList(parent_id) {
this.sortCateList = []
this.loading = true;
getCategoryTree(parent_id).then((res) => {
this.loading = false;