Browse Source

优化添加频道提示

test
Enzo 4 years ago
parent
commit
2bdc0f7db4
  1. 10
      pages/channel/index.vue

10
pages/channel/index.vue

@ -56,11 +56,11 @@
}, },
updateChannel(type) { updateChannel(type) {
this.$http(this.API.API_EDITCHANNEL,{channels: this.chanel_id},{showLoading:false}).then(res => { this.$http(this.API.API_EDITCHANNEL,{channels: this.chanel_id},{showLoading:false}).then(res => {
if(type == 1) {
this.$msg('添加频道成功')
}else {
this.$msg('取消频道成功')
}
// if(type == 1) {
// this.$msg('')
// }else {
// this.$msg('')
// }
}).catch(err => { }).catch(err => {
}) })

Loading…
Cancel
Save