Browse Source

Fix rename check parameter

break60 4 years ago
parent
commit
7ef3bb24df

+ 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'
             })
           }