Commit 0b159100 by 李伟康

修复BUG

1 parent d21872de
......@@ -435,9 +435,6 @@ export default {
mounted () {
const { id, type } = this.$route.query
if (id) this.getDetail(id, type)
setTimeout(() => {
window.open('/login?redirect=tools%2FcouponManage%2Findex')
}, 5e3)
},
methods: {
async getDetail (id, type) {
......
......@@ -190,7 +190,7 @@ export default {
})
// 重置分页组件
this.serviceList = res.list
this.$refs['serviceRef' + discountType][0].tableTotal = res.total
this.selectedPreExisting(this.selectedList, this.serviceList, 'couponId', this.$refs['serviceRef' + this.discountType][0])
this.setAmount(this.selectedList, this.serviceList, 'couponId')
......@@ -214,8 +214,7 @@ export default {
}[row.useType]
},
addCoupon () {
// util.openTab('/tools/couponManage/index')
window.open('/tools/couponManage/index')
window.open('/login?redirect=tools%2FcouponManage%2Findex')
},
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!