| | |
| | | </div> --> |
| | | <div> |
| | | <!-- <addModel></addModel> --> |
| | | <a-button |
| | | type="primary" |
| | | :loading="loading2" |
| | | @click="handleAddModel" |
| | | > |
| | | <a-button type="primary" @click="handleAddModel"> |
| | | <template #icon> |
| | | <icon-plus /> |
| | | </template> |
| | |
| | | <addTableName |
| | | v-model:tabShow="tabShow" |
| | | :nameList="editList" |
| | | :title="title" |
| | | @refresh-parent="refreshParentMethod" |
| | | v-if="tabShow" |
| | | ></addTableName> |
| | |
| | | const modelType = ref(1); |
| | | const handleAdd = () => { |
| | | tabShow.value = true; |
| | | title.value = '添加模型'; |
| | | editList.value.llm_factory = tabKey.value; |
| | | }; |
| | | const editList = ref({ llm_factory: '' }); |
| | |
| | | if (type == 1) { |
| | | tabShow.value = true; |
| | | editList.value = val; |
| | | title.value = '编辑模型'; |
| | | editList.value.llm_factory = tabKey.value; |
| | | } else { |
| | | modelType.value = 2; |
| | |
| | | font-size: 14px; |
| | | } |
| | | } |
| | | |
| | | :deep(.arco-list-col) { |
| | | display: flex; |
| | | flex-direction: row; |