Commit 90bfc3a8 authored by leiqingsong's avatar leiqingsong

修改一下刚刚的bug

parent 76a5cd1d
...@@ -84,13 +84,13 @@ export default { ...@@ -84,13 +84,13 @@ export default {
mounted() { mounted() {
this.getWheelActive(); this.getWheelActive();
this.getCouponActive(); this.getCouponActive();
// this.flag = sessionStorage.getItem("role"); this.flag = sessionStorage.getItem("role");
}, },
methods: { methods: {
deleteCouponAct(id, index) { deleteCouponAct(id, index) {
API_Active.deleteActive(id).then(res => { API_Active.deleteActive(id).then(res => {
if (res.result === "success") { if (res.result === "success") {
this.wheelList.splice(index, 1); this.couponList.splice(index, 1);
this.$toast("删除成功!"); this.$toast("删除成功!");
} }
}); });
......
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