CN-1312 fix: 在管理页删除当前登录的用户,确认删除后没有错误信息提示
This commit is contained in:
@@ -183,6 +183,9 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error(response.data.message)
|
this.$message.error(response.data.message)
|
||||||
}
|
}
|
||||||
|
}).catch(e => {
|
||||||
|
// 表格内无删除,只是顶部工具栏有
|
||||||
|
this.$message.error(e.response.data.message)
|
||||||
})
|
})
|
||||||
}).catch(e => {})
|
}).catch(e => {})
|
||||||
},
|
},
|
||||||
@@ -213,6 +216,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.error(response.data.message)
|
this.$message.error(response.data.message)
|
||||||
}
|
}
|
||||||
|
}).catch(e => {
|
||||||
|
this.$message.error(e.response.data.message)
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.toggleLoading(false)
|
this.toggleLoading(false)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user