Browse Source

resource file manager page,repeat onMounted optimize (#14011)

3.2.0-release
liyou 1 year ago committed by GitHub
parent
commit
b451d64696
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      dolphinscheduler-ui/src/views/resource/components/resource/index.tsx

6
dolphinscheduler-ui/src/views/resource/components/resource/index.tsx

@ -107,11 +107,11 @@ export default defineComponent({
}
onMounted(() => {
createColumns(variables)
fileStore.setCurrentDir(variables.fullName)
breadListRef.value = fileStore.getCurrentDir.replace(/\/+$/g, '')
.split('/').slice(2) as Array<string>
requestData()
})
const trim = getCurrentInstance()?.appContext.config.globalProperties.trim
@ -134,10 +134,6 @@ export default defineComponent({
}
}
onMounted(() => {
createColumns(variables)
requestData()
})
watch(useI18n().locale, () => {
createColumns(variables)
})

Loading…
Cancel
Save