From e7a4834d6d34f1eb0ed3a13b77ccc6c7edc017c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=AF=BA?= <1253070437@qq.com> Date: Fri, 14 Oct 2022 14:13:32 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9B=B4=E6=96=B0=E3=80=91=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=20issues=20=E4=B8=AD=20#I5TY0J=20=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=B8=AD=E4=BF=AE=E6=94=B9=E4=BA=86=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E8=B7=AF=E5=BE=84=EF=BC=8C=E4=BD=86=E6=98=AF=E7=BC=93?= =?UTF-8?q?=E5=AD=98=E4=B8=AD=E6=B2=A1=E6=9C=89=E6=9B=B4=E6=96=B0=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=8C=E5=8E=BB=E6=8E=89=E5=89=8D=E7=AB=AF=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E6=88=90=E5=8A=9F=E5=90=8E=E7=9A=84=E6=8F=90=E9=86=92?= =?UTF-8?q?=E4=B8=BA=E5=88=B7=E6=96=B0=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- snowy-admin-web/src/views/dev/file/uploadForm.vue | 8 ++++---- .../modular/config/service/impl/DevConfigServiceImpl.java | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/snowy-admin-web/src/views/dev/file/uploadForm.vue b/snowy-admin-web/src/views/dev/file/uploadForm.vue index e8b78162..0cf7c897 100644 --- a/snowy-admin-web/src/views/dev/file/uploadForm.vue +++ b/snowy-admin-web/src/views/dev/file/uploadForm.vue @@ -84,7 +84,7 @@ fileApi .fileUploadLocalReturnUrl(fileData) .then(() => { - message.success('上传成功') + emit('successful') }) .finally(() => { uploadLoading.value = false @@ -98,7 +98,7 @@ fileApi .fileUploadAliyunReturnUrl(fileData) .then(() => { - message.success('上传成功') + emit('successful') }) .finally(() => { uploadLoading.value = false @@ -112,7 +112,7 @@ fileApi .fileUploadTencentReturnUrl(fileData) .then(() => { - message.success('上传成功') + emit('successful') }) .finally(() => { uploadLoading.value = false @@ -126,7 +126,7 @@ fileApi .fileUploadMinioReturnUrl(fileData) .then(() => { - message.success('上传成功') + emit('successful') }) .finally(() => { uploadLoading.value = false diff --git a/snowy-plugin/snowy-plugin-dev/src/main/java/vip/xiaonuo/dev/modular/config/service/impl/DevConfigServiceImpl.java b/snowy-plugin/snowy-plugin-dev/src/main/java/vip/xiaonuo/dev/modular/config/service/impl/DevConfigServiceImpl.java index 9b1fafdc..b42a6fa5 100644 --- a/snowy-plugin/snowy-plugin-dev/src/main/java/vip/xiaonuo/dev/modular/config/service/impl/DevConfigServiceImpl.java +++ b/snowy-plugin/snowy-plugin-dev/src/main/java/vip/xiaonuo/dev/modular/config/service/impl/DevConfigServiceImpl.java @@ -151,7 +151,7 @@ public class DevConfigServiceImpl extends ServiceImpl { // 移除对应的缓存 - commonCacheOperator.remove(CONFIG_CACHE_KEY + devConfig.getConfigValue()); + commonCacheOperator.remove(CONFIG_CACHE_KEY + devConfig.getConfigKey()); }); // 执行删除 this.removeBatchByIds(devConfigIdList); @@ -180,7 +180,7 @@ public class DevConfigServiceImpl extends ServiceImpl