修改分类选择
This commit is contained in:
parent
5fe0d58c15
commit
f454b8da87
@ -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);
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
// 列表
|
||||
|
Loading…
x
Reference in New Issue
Block a user