From 380cb2db29b6918f7c37394de09c88ed6910b9e8 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期五, 17 二月 2023 22:45:59 +0800
Subject: [PATCH] fix 修复 因菜单权限过多 导致 token 臃肿过长问题
---
ruoyi-ui/src/views/system/tenant/index.vue | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/ruoyi-ui/src/views/system/tenant/index.vue b/ruoyi-ui/src/views/system/tenant/index.vue
index dac8e51..5f137d2 100644
--- a/ruoyi-ui/src/views/system/tenant/index.vue
+++ b/ruoyi-ui/src/views/system/tenant/index.vue
@@ -264,9 +264,6 @@
password: [
{ required: true, message: "瀵嗙爜涓嶈兘涓虹┖", trigger: "blur" },
{ min: 5, max: 20, message: '鐢ㄦ埛瀵嗙爜闀垮害蹇呴』浠嬩簬 5 鍜� 20 涔嬮棿', trigger: 'blur' }
- ],
- packageId: [
- { required: true, message: "绉熸埛濂楅涓嶈兘涓虹┖", trigger: "blur" }
]
}
};
@@ -294,7 +291,7 @@
handleStatusChange(row) {
let text = row.status === "0" ? "鍚敤" : "鍋滅敤";
this.$modal.confirm('纭瑕�"' + text + '""' + row.companyName + '"绉熸埛鍚楋紵').then(function() {
- return changeTenantStatus(row.id, row.status);
+ return changeTenantStatus(row.id, row.tenantId, row.status);
}).then(() => {
this.$modal.msgSuccess(text + "鎴愬姛");
}).catch(function() {
--
Gitblit v1.9.3