Browse Source

Fix unfiltered jar files in resource directory and UDF upload resource parameters (#3008)

* Change email to default

* Fix unfiltered jar files in resource directory and UDF upload resource parameters
pull/3/MERGE
break60 5 years ago committed by GitHub
parent
commit
08beae8358
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/createUdf.vue
  2. 4
      dolphinscheduler-ui/src/js/module/components/fileUpdate/udfUpdate.vue

5
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/createUdf.vue

@ -216,6 +216,11 @@
this.diGuiTree(item)
this.diGuiTree(this.filterJarFile(item1))
item1 = item1.filter( item => {
if(item.dirctory) {
return item
}
});
this.udfResourceList = item
this.udfResourceDirList = item1
resolve()

4
dolphinscheduler-ui/src/js/module/components/fileUpdate/udfUpdate.vue

@ -26,7 +26,7 @@
v-model="udfName"
:disabled="progress !== 0"
style="width: 535px"
:placeholder="$t('Please enter resource name')"
:placeholder="$t('Please enter name')"
autocomplete="off">
</x-input>
<div class="p1" style="position: absolute;">
@ -96,7 +96,7 @@
_verifyName () {
return new Promise((resolve, reject) => {
this.store.dispatch('resource/resourceVerifyName', {
fullName: '/'+this.udfName,
fullName: '/'+this.currentDir+'/'+this.udfName,
type: 'UDF'
}).then(res => {
resolve()

Loading…
Cancel
Save