项目详情接口报错处理
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
6069e2657e
commit
107d520266
|
@ -188,6 +188,12 @@ export default {
|
||||||
this.formLoading = false
|
this.formLoading = false
|
||||||
this.isRight = true
|
this.isRight = true
|
||||||
this.otherInfo = res.OtherInfo
|
this.otherInfo = res.OtherInfo
|
||||||
|
if (res.Code === 5) {
|
||||||
|
this.$confirm(res.ErrorMessage, {
|
||||||
|
type: 'warning',
|
||||||
|
showCancelButton: false,
|
||||||
|
})
|
||||||
|
}
|
||||||
if (!res.OtherInfo) {
|
if (!res.OtherInfo) {
|
||||||
this.isRight = false
|
this.isRight = false
|
||||||
this.otherInfo = {
|
this.otherInfo = {
|
||||||
|
|
Loading…
Reference in New Issue