支持全局异常和统一返回结果
This commit is contained in:
@@ -101,7 +101,7 @@ export default {
|
||||
channelReduces: that.chooseData
|
||||
}
|
||||
}).then((res)=>{
|
||||
if (res.data == true) {
|
||||
if (res.data.code === 0) {
|
||||
that.$message({
|
||||
showClose: true,
|
||||
message: '保存成功,',
|
||||
|
||||
Reference in New Issue
Block a user