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