diff --git a/ui/src/api/type/model.ts b/ui/src/api/type/model.ts index b912cae90..da9bf3a4e 100644 --- a/ui/src/api/type/model.ts +++ b/ui/src/api/type/model.ts @@ -54,7 +54,6 @@ interface Model { model_type: string user_id: string username: string - permission_type: 'PUBLIC' | 'PRIVATE' /** * 基础模型 */ diff --git a/ui/src/components/model-select/index.vue b/ui/src/components/model-select/index.vue index 664ca9930..483bbf62d 100644 --- a/ui/src/components/model-select/index.vue +++ b/ui/src/components/model-select/index.vue @@ -19,9 +19,9 @@ class="model-icon mr-8" > {{ item.name }} - + diff --git a/ui/src/locales/lang/zh-Hant/views/tool.ts b/ui/src/locales/lang/zh-Hant/views/tool.ts index 50c30823c..52c8f7f0c 100644 --- a/ui/src/locales/lang/zh-Hant/views/tool.ts +++ b/ui/src/locales/lang/zh-Hant/views/tool.ts @@ -30,10 +30,6 @@ export default { label: '描述', placeholder: '請輸入工具的描述', }, - permission_type: { - label: '權限', - requiredMessage: '請選擇', - }, paramName: { label: '參數名', placeholder: '請輸入參數名', diff --git a/ui/src/views/application/component/AddKnowledgeDialog.vue b/ui/src/views/application/component/AddKnowledgeDialog.vue index 895611381..0302e96d2 100644 --- a/ui/src/views/application/component/AddKnowledgeDialog.vue +++ b/ui/src/views/application/component/AddKnowledgeDialog.vue @@ -54,6 +54,7 @@ :data="item" v-model="checkList" @change="changeHandle" + v-if="item.resource_type !== 'folder'" > {{ item.name }} diff --git a/ui/src/views/model/component/CreateModelDialog.vue b/ui/src/views/model/component/CreateModelDialog.vue index cc9ec1d24..a28f537a3 100644 --- a/ui/src/views/model/component/CreateModelDialog.vue +++ b/ui/src/views/model/component/CreateModelDialog.vue @@ -56,31 +56,6 @@ :placeholder="$t('views.model.modelForm.modeName.placeholder')" /> - - - - - - - -