ソースを参照

租户缓存键名调整

zuohuaijun 3 年 前
コミット
c5f6374b77

+ 1 - 1
Admin.NET/Admin.NET.Core/Const/CacheConst.cs

@@ -63,5 +63,5 @@ public class CacheConst
     /// <summary>
     /// 租户缓存
     /// </summary>
-    public const string KeyTenant = "tenant:";
+    public const string KeyTenant = "tenant:list";
 }

+ 1 - 1
Web/src/views/system/cache/index.vue

@@ -7,7 +7,7 @@
 					<template #header>
 						<div class="card-header">
 							<span>缓存列表</span>
-							<el-button icon="ele-Refresh" size="small" circle text @click="handleQuery" v-auth="'sysCache:page'" />
+							<el-button icon="ele-Refresh" size="small" circle text @click="handleQuery" v-auth="'sysCache:keyList'" />
 						</div>
 					</template>
 					<el-tree

+ 1 - 1
Web/src/views/system/user/component/editUser.vue

@@ -93,7 +93,7 @@
 										<el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20">
 											<el-form-item label="机构" :prop="`extOrgIdList[${k}].orgId`" :rules="[{ required: true, message: `机构不能为空`, trigger: 'blur' }]">
 												<template #label>
-													<el-button icon="ele-Delete" type="danger" circle plain size="small" @click="deleteExtOrgRow(k)"></el-button>
+													<el-button icon="ele-Delete" type="danger" circle plain size="small" @click="deleteExtOrgRow(k)" />
 													<span class="ml5">机构</span>
 												</template>
 												<el-cascader