Explorar o código

!1510 系统配置保存后未正确删除缓存,导致界面数据不无法显示最新数据
Merge pull request !1510 from 熊猫大侠/next

zuohuaijun hai 1 ano
pai
achega
edb81d3619

+ 2 - 1
Admin.NET/Admin.NET.Core/Service/Config/SysConfigService.cs

@@ -324,6 +324,7 @@ public class SysConfigService : IDynamicApiController, ITransient
         _sysCacheService.Remove($"{CacheConst.KeyConfig}Value:{config.Code}");
         _sysCacheService.Remove($"{CacheConst.KeyConfig}Remark:{config.Code}");
         _sysCacheService.Remove($"{CacheConst.KeyConfig}{config.GroupCode}:GroupWithCache");
-        _sysCacheService.Remove($"{CacheConst.KeyConfig}{config.GroupCode}:{config.Value}");
+        _sysCacheService.Remove($"{CacheConst.KeyConfig}{config.Code}");
+
     }
 }

+ 3 - 2
Web/src/layout/logo/index.vue

@@ -36,7 +36,7 @@ const onThemeConfigChange = () => {
 
 <style scoped lang="scss">
 .layout-logo {
-	width: 220px;
+	width: 300px;
 	height: 50px;
 	display: flex;
 	align-items: center;
@@ -58,8 +58,9 @@ const onThemeConfigChange = () => {
 		}
 	}
 	&-medium-img {
-		width: 15%;
+		width: 12%;
 		margin-right: 5px;
+		padding:3px;
 	}
 }
 .layout-logo-size {