修改分类选择

This commit is contained in:
jia 2023-08-10 15:25:59 +08:00
parent 5fe0d58c15
commit f454b8da87

View File

@ -139,10 +139,7 @@
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import {
communityAuditApi, communityDetailApi,
communityCateOptionApi,
} from '@/api/community'
import { resaleList, resaleShow, resaleStatus, resaleDetail } from '@/api/product'
export default {
name: 'communityTopic',
@ -173,7 +170,7 @@ export default {
{ label: "下架", value: -2 },
],
cateSelect: [],
cateSelect:[{value:1, label: "调货"}, {value: 2, label: "打折"}],
topicSelect: [],
dialogVisible: false,
loading: false,
@ -196,21 +193,11 @@ export default {
},
mounted() {
this.getList(1)
this.getCateSelect()
},
methods: {
//
getCateSelect() {
communityCateOptionApi()
.then((res) => {
this.cateSelect = res.data;
})
.catch((res) => {
this.$message.error(res.message);
});
},
//