Browse Source

Merge pull request #2756 from break60/dev-1.3.0

Fix rename check parameter
xingchun-chen 4 years ago
parent
commit
f03dc47b5c

+ 0 - 1
dolphinscheduler-server/src/main/resources/config/install_config.conf

@@ -67,7 +67,6 @@ mailPassword="xxxxxxxxxx"
 starttlsEnable="true"
 
 # SSL mail protocol support
-# note: The SSL protocol is enabled by default.
 # only one of TLS and SSL can be in the true state.
 sslEnable="false"
 

+ 1 - 1
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/rename.vue

@@ -71,7 +71,7 @@
             })
           }else{
             return this.store.dispatch('resource/resourceVerifyName', {
-              fullName: localStore.getItem('currentDir')+'/'+this.name,
+              fullName: '/'+this.name,
               type: 'FILE'
             })
           }

+ 1 - 1
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/rename.vue

@@ -72,7 +72,7 @@
             })
           }else{
             return this.store.dispatch('resource/resourceVerifyName', {
-              fullName: localStore.getItem('currentDir')+'/'+this.name,
+              fullName: '/'+this.name,
               type: 'UDF'
             })
           }