Commit 0b159100 by 李伟康

修复BUG

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