Commit 0964f273 authored by chenwei's avatar chenwei

status

parent 21d16e8f
......@@ -332,7 +332,6 @@ export default {
},
methods: {
openSwitch(status) {
console.log('9999', status)
this.$modal
.confirm(this.$t('是否确认{val}会员积分系统', { val: status ? this.$t('开启') : this.$t('关闭') }))
.then(async() => {
......@@ -342,7 +341,9 @@ export default {
this.$modal.msgSuccess(this.$t('成功'))
}
})
.catch(() => {})
.catch(() => {
this.switchState = !status
})
},
getSwitchRuleStatus() {
switchRuleGet().then(res => {
......
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