bug 56217 机构管理-工作组,新增数据 工作组成员选择多个 TIPS显示异常
This commit is contained in:
@@ -130,7 +130,7 @@ export default {
|
|||||||
if (res.data.ok !== undefined && showTips) {
|
if (res.data.ok !== undefined && showTips) {
|
||||||
let type = res.data.ok ? 'success' : 'warning'
|
let type = res.data.ok ? 'success' : 'warning'
|
||||||
if (_this) {
|
if (_this) {
|
||||||
if (res.data.message !== '') {
|
if (res.data.message !== '' && res.data.message !== null) {
|
||||||
_this.$message[type](res.data.message)
|
_this.$message[type](res.data.message)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -387,7 +387,9 @@ export default {
|
|||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.$message.warning(res.message);
|
if(!res.ok){
|
||||||
|
this.$message.warning(res.message);
|
||||||
|
}
|
||||||
this.getWorkData();
|
this.getWorkData();
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user