项目详情接口报错处理
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2024-12-02 15:48:56 +08:00
parent 6069e2657e
commit 107d520266
1 changed files with 6 additions and 0 deletions

View File

@ -188,6 +188,12 @@ export default {
this.formLoading = false
this.isRight = true
this.otherInfo = res.OtherInfo
if (res.Code === 5) {
this.$confirm(res.ErrorMessage, {
type: 'warning',
showCancelButton: false,
})
}
if (!res.OtherInfo) {
this.isRight = false
this.otherInfo = {