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 },