Browse Source

[Improve-9108][UI Next][V1.0.0-Alpha] Rectify the issue about having a few misspelled words in the resource management. (#9117)

3.0.0/version-upgrade
calvin 3 years ago committed by GitHub
parent
commit
aae328e3a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      dolphinscheduler-ui-next/src/views/resource/file/index.tsx

14
dolphinscheduler-ui-next/src/views/resource/file/index.tsx

@ -66,7 +66,7 @@ export default defineComponent({
const folderShowRef = ref(false) const folderShowRef = ref(false)
const uploadShowRef = ref(false) const uploadShowRef = ref(false)
const renameShowRef = ref(false) const renameShowRef = ref(false)
const serachRef = ref() const searchRef = ref()
const renameInfo = reactive({ const renameInfo = reactive({
id: -1, id: -1,
@ -85,7 +85,7 @@ export default defineComponent({
paginationReactive.page = page paginationReactive.page = page
resourceListRef.value = getResourceListState( resourceListRef.value = getResourceListState(
fileId.value, fileId.value,
serachRef.value, searchRef.value,
paginationReactive.page, paginationReactive.page,
paginationReactive.pageSize paginationReactive.pageSize
) )
@ -96,7 +96,7 @@ export default defineComponent({
paginationReactive.pageSize = pageSize paginationReactive.pageSize = pageSize
resourceListRef.value = getResourceListState( resourceListRef.value = getResourceListState(
fileId.value, fileId.value,
serachRef.value, searchRef.value,
paginationReactive.page, paginationReactive.page,
paginationReactive.pageSize paginationReactive.pageSize
) )
@ -115,7 +115,7 @@ export default defineComponent({
const handleConditions = () => { const handleConditions = () => {
resourceListRef.value = getResourceListState( resourceListRef.value = getResourceListState(
fileId.value, fileId.value,
serachRef.value searchRef.value
) )
} }
@ -147,7 +147,7 @@ export default defineComponent({
const updateList = () => { const updateList = () => {
resourceListRef.value = getResourceListState( resourceListRef.value = getResourceListState(
fileId.value, fileId.value,
serachRef.value searchRef.value
) )
} }
const fileStore = useFileStore() const fileStore = useFileStore()
@ -228,7 +228,7 @@ export default defineComponent({
return { return {
fileId, fileId,
serachRef, searchRef,
folderShowRef, folderShowRef,
uploadShowRef, uploadShowRef,
renameShowRef, renameShowRef,
@ -292,7 +292,7 @@ export default defineComponent({
<div class={styles.list}> <div class={styles.list}>
<NInput <NInput
placeholder={t('resource.file.enter_keyword_tips')} placeholder={t('resource.file.enter_keyword_tips')}
v-model={[this.serachRef, 'value']} v-model={[this.searchRef, 'value']}
/> />
</div> </div>
</div> </div>

Loading…
Cancel
Save