Commit f0ef8f19 authored by chenwei's avatar chenwei

Merge branch 'feature/099_customer_filter' into 'dev'

status

See merge request !17
parents 20d7095c 0964f273
......@@ -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