update 优化 getTenantList 接口动态决定是否传token

This commit is contained in:
疯狂的狮子Li
2024-11-05 14:29:13 +08:00
parent 9ed3ae3fab
commit fdfb556c8e
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ const getCode = async () => {
};
const initTenantList = async () => {
const { data } = await getTenantList();
const { data } = await getTenantList(false);
tenantEnabled.value = data.tenantEnabled === undefined ? true : data.tenantEnabled;
if (tenantEnabled.value) {
tenantList.value = data.voList;