|
@@ -287,8 +287,13 @@ export default {
|
|
|
try {
|
|
|
let res = await getLoginPageConfigurationInfo(query);
|
|
|
if (res.code === 200) {
|
|
|
- this.config = res.data;
|
|
|
- this.setConfig();
|
|
|
+ if (res.data) {
|
|
|
+ this.config = res.data;
|
|
|
+ this.setConfig();
|
|
|
+ } else {
|
|
|
+ // this.$router.push("/404");
|
|
|
+ this.$message.error("获取页面信息失败,请检查url中的tenantId");
|
|
|
+ }
|
|
|
} else {
|
|
|
this.$message.error("获取页面信息失败,请检查tenantId");
|
|
|
}
|