Commit 61d42314 authored by chenqikuai's avatar chenqikuai

fix(src\views\root\msg\index.vue): 优化消息管理中消息分类查询交互

parent 5116566b
......@@ -7,7 +7,6 @@
<a-select-option v-for="type in msgType" :key="type.value">{{ type.label }}</a-select-option>
</a-select>
<!-- 操作 -->
<a-button type="primary" style="margin-right: 10px" @click="query">查询</a-button>
<a-button type="primary" style="margin-right: 10px" @click="publish">新增</a-button>
<!-- 新增弹窗 -->
<a-modal v-model="show" title="新增消息" :centered="true" footer="">
......@@ -338,6 +337,11 @@ export default Vue.extend({
tableLoading: false,
}
},
watch: {
types(newV) {
this.query()
},
},
})
</script>
<style scoped lang="scss">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment