Commit a3890202 by 王志慧

commit

1 parent a45909fa
......@@ -64,7 +64,7 @@ export default {
data() {
return {
activityInfo: {},
isSuper:true,
isSuper: true,
schemeListData: [],
schemeList: [],
total: 0,
......@@ -110,7 +110,7 @@ export default {
this.$apis.activity.listByPage({ merchantId: this.$globalState.session.merchantId, pageSize: 5, currentPage: this.currentPage }).then(res => {
if (res) {
let list = res.list || []
this.schemeList = this.currentPage == 1?list:this.schemeList.concat(res.list || [])
this.schemeList = this.currentPage == 1 ? list : this.schemeList.concat(res.list || [])
this.total = res.total
}
})
......@@ -158,6 +158,7 @@ export default {
})
},
addSuper() {
this.$parent.handleShowCalendar(0)
this.setActivityInfo({})
},
//设置活动详情
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!