bug 56217 机构管理-工作组,新增数据 工作组成员选择多个 TIPS显示异常

This commit is contained in:
yuezhihang
2022-07-04 16:17:01 +08:00
parent 2c56aecc5c
commit 4d862ed690
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ export default {
if (res.data.ok !== undefined && showTips) {
let type = res.data.ok ? 'success' : 'warning'
if (_this) {
if (res.data.message !== '') {
if (res.data.message !== '' && res.data.message !== null) {
_this.$message[type](res.data.message)
}
}
@@ -387,7 +387,9 @@ export default {
}, {
_this: this
}, res => {
this.$message.warning(res.message);
if(!res.ok){
this.$message.warning(res.message);
}
this.getWorkData();
}, e => {
});