登录过期不显示获取子系统信息失败
This commit is contained in:
parent
2e49c6499f
commit
ca736a93f3
@ -28,7 +28,6 @@
|
||||
import { getGoodsTryUse } from '@/api/management/goods';
|
||||
import { PermissionType } from '@/scripts/ConstDic';
|
||||
import { launchFullscreen } from '@/utils/screen';
|
||||
import { queryPermissionSimulation } from '@/api/management/author';
|
||||
import { postCreateRoom, getjointTraining, checkRoomExist } from '@/api/chat';
|
||||
import { UrlConfig } from '@/router/index';
|
||||
import { simulationNotify, schedulingNotify } from '@/api/simulation';
|
||||
|
@ -48,7 +48,7 @@ export default {
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
$route(newVal) {
|
||||
'$route.params.subSystem': function(newVal) {
|
||||
this.loadInitPage();
|
||||
}
|
||||
},
|
||||
|
@ -48,7 +48,7 @@ export default {
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
$route(newVal) {
|
||||
'$route.params.subSystem': function(newVal) {
|
||||
this.loadInitPage();
|
||||
}
|
||||
},
|
||||
|
@ -142,8 +142,10 @@ export default {
|
||||
// this.$router.push({ path: `${UrlConfig.trainingPlatform.runPlan}/${this.mapId}`, query: {skinCode: '02'} });
|
||||
// break;
|
||||
}
|
||||
}).catch(() => {
|
||||
this.$messageBox(this.$t('systemGenerate.getSubSystemInfoFail'));
|
||||
}).catch((error) => {
|
||||
if (error.code === '40004') {
|
||||
this.$messageBox(this.$t('systemGenerate.getSubSystemInfoFail'));
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user