Commit 58411841 by 匡雅琴

选项添加全部选项

1 parent 9a093028
......@@ -98,9 +98,11 @@ export default {
},
created() {
this.$bus.$on('selectAreaChange', val => {
if (val === '全部') val = ''
this.area = val
})
this.$bus.$on('selectMonthChange', val => {
if (val === '全部') val = ''
this.month = val
})
this.getRetailOverview()
......
......@@ -88,9 +88,11 @@ export default {
created() {
this.$bus.$on('selectAreaChange', val => {
if (val === '全部') val = ''
this.area = val
})
this.$bus.$on('selectMonthChange', val => {
if (val === '全部') val = ''
this.month = val
})
this.getRetailRank()
......
......@@ -26,6 +26,7 @@ export default {
created() {
this.$bus.$on('selectMonthChange', val => {
if (val === '全部') val = ''
this.month = val
this.getWholesaleNum()
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!