From 64daeaeb563f2c2ab58567d99db7f9f86d466946 Mon Sep 17 00:00:00 2001
From: junleea <354425203@qq.com>
Date: Sat, 10 May 2025 15:09:18 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0select=E6=9F=A5=E8=AF=A2?=
=?UTF-8?q?=E5=8F=8A=E6=96=B0=E5=A2=9E=E9=A1=B9=E9=80=89=E6=8B=A9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/table-edit.vue | 2 +-
src/types/form-option.ts | 2 ++
src/views/system/manage-model.vue | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/components/table-edit.vue b/src/components/table-edit.vue
index 7cf2478..1e2c731 100644
--- a/src/components/table-edit.vue
+++ b/src/components/table-edit.vue
@@ -9,7 +9,7 @@
+ :placeholder="item.placeholder" clearable :multiple="item.multiple?true:false" filterable :allow-create="item.allowcreate?true:false" >
({
labelWidth: '100px',
span: 12,
list: [
- { type: 'select', label: '类型', prop: 'Type', required: true , opts:[{label: '本地部署模型', value: 'ollama'},{label: '星火', value: 'spark'},{label: '豆包', value: 'doubao'}]},
+ { type: 'select', label: '类型', prop: 'Type', required: true, allowcreate:true, opts:[{label: '本地部署模型', value: 'ollama'},{label: '星火', value: 'spark'},{label: '豆包', value: 'doubao'}]},
{ type: 'input', label: 'URL', prop: 'Url', required: true },
{ type: 'input', label: '参数', prop: 'Parameter', required: true },
{ type: 'input', label: '描述', prop: 'Description', required: true },