From 90f4830d82582438e8170a2568558d5a5e67124b Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Fri, 31 Oct 2025 13:12:14 +0800 Subject: [PATCH] fix: Fix the shared knowledge base list issue --- .../lang/en-US/views/application-workflow.ts | 3 +- .../lang/zh-CN/views/application-workflow.ts | 1 + .../zh-Hant/views/application-workflow.ts | 1 + .../component/KnowledgeListContainer.vue | 2 +- .../component/VariableFieldDialog.vue | 45 ++++++++++++++++--- 5 files changed, 43 insertions(+), 9 deletions(-) diff --git a/ui/src/locales/lang/en-US/views/application-workflow.ts b/ui/src/locales/lang/en-US/views/application-workflow.ts index 1043c8c85..dc20ddd6a 100644 --- a/ui/src/locales/lang/en-US/views/application-workflow.ts +++ b/ui/src/locales/lang/en-US/views/application-workflow.ts @@ -57,7 +57,7 @@ export default { NoReferencing: 'Referenced variable does not exist', placeholder: 'Please select a variable', inputPlaceholder: 'Please enter variable', - loop: 'Loop Variable', + loop: 'Loop Variable', }, condition: { title: 'Execution Condition', @@ -445,6 +445,7 @@ You are a master of problem optimization, adept at accurately inferring user int expression: { label: 'Expression', placeholder: 'Please enter expression', + tooltip: 'Please use JSON Path expressions to split variables, e.g.: $.store.book', }, }, parameterExtractionNode: { diff --git a/ui/src/locales/lang/zh-CN/views/application-workflow.ts b/ui/src/locales/lang/zh-CN/views/application-workflow.ts index b0124fcde..a712ba81e 100644 --- a/ui/src/locales/lang/zh-CN/views/application-workflow.ts +++ b/ui/src/locales/lang/zh-CN/views/application-workflow.ts @@ -456,6 +456,7 @@ export default { expression: { label: '表达式', placeholder: '请输入表达式', + tooltip: '请使用JSON Path 表达式拆分变量,例如:$.store.book', }, }, parameterExtractionNode: { diff --git a/ui/src/locales/lang/zh-Hant/views/application-workflow.ts b/ui/src/locales/lang/zh-Hant/views/application-workflow.ts index fd89f347e..5f77aa346 100644 --- a/ui/src/locales/lang/zh-Hant/views/application-workflow.ts +++ b/ui/src/locales/lang/zh-Hant/views/application-workflow.ts @@ -431,6 +431,7 @@ export default { expression: { label: '表達式', placeholder: '請輸入表達式', + tooltip: '請使用JSON Path 表達式拆分變量,例如:$.store.book', }, }, parameterExtractionNode: { diff --git a/ui/src/views/knowledge/component/KnowledgeListContainer.vue b/ui/src/views/knowledge/component/KnowledgeListContainer.vue index 3a8d910c7..e15d543a5 100644 --- a/ui/src/views/knowledge/component/KnowledgeListContainer.vue +++ b/ui/src/views/knowledge/component/KnowledgeListContainer.vue @@ -534,7 +534,7 @@ function openCreateFolder() { watch( () => folder.currentFolder, (newValue) => { - if (newValue && newValue.id) { + if (newValue && newValue.id && !isSystemShare.value) { paginationConfig.current_page = 1 knowledge.setKnowledgeList([]) getList() diff --git a/ui/src/workflow/nodes/variable-splitting/component/VariableFieldDialog.vue b/ui/src/workflow/nodes/variable-splitting/component/VariableFieldDialog.vue index 9609abe9e..d8fa4c0d9 100644 --- a/ui/src/workflow/nodes/variable-splitting/component/VariableFieldDialog.vue +++ b/ui/src/workflow/nodes/variable-splitting/component/VariableFieldDialog.vue @@ -18,8 +18,15 @@ :rules="rules" :model="form" require-asterisk-position="right" + hide-required-asterisk > - + + - + + - + +