ソースを参照

fix:补充提交

韩帛霖 1 年間 前
コミット
8b68d32843

+ 1 - 0
zkqy-ui/src/views/login.vue

@@ -161,6 +161,7 @@ export default {
       if (tenantCode != null) {
         // 得到tenantId 查询裤中是否存在该租户
         isTenantExist({tenantCode: tenantCode}).then(res => {
+          if (res == undefined) this.$router.push({path: "/404"})
           if (res.data?.tenantId) { // 判断当前编号是否存在库中
             this.tenantId = res.data.tenantId;
             this.loginForm.tenantID = this.tenantId;

+ 1 - 1
zkqy-ui/src/views/tablelist/commonTable/listInfo.vue

@@ -459,7 +459,7 @@ export default {
       // 序列化当前查询参数列表
       queryParams && (this.queryParams.queryMap = queryParams.queryMap);
       // 获取当前表单结构信息
-      dragTableInfo({ queryMap: { tableKey: this.tableKey } })
+      dragTableInfo({ "queryMap": { "tableKey": this.tableKey } })
         .then((res) => {
           // 得到当前模版信息 --- sql columns queryWhere
           this.templateInfo = res.data.resultMap;