| | |
| | | } from 'vue'; |
| | | import { addLlmFactory, getLlmDetail, editLlmFactory } from '@/api/model'; |
| | | import { Message } from '@arco-design/web-vue'; |
| | | import { userModelState } from '@/store'; |
| | | |
| | | const modelStore = userModelState(); |
| | | |
| | | const addTabVisible = defineModel('tabShow'); |
| | | |
| | | const httpUrl = localStorage.getItem('httpUrl'); |
| | | const httpUrl = modelStore.hrefUrl; |
| | | const loading = ref(false); |
| | | const props = defineProps({ |
| | | task_id: { |
| | |
| | | logo: '', |
| | | urlS: '', |
| | | }); |
| | | const formRef = ref(null); |
| | | const formRef = ref(); |
| | | |
| | | const rules = { |
| | | name: [ |
| | |
| | | tags: form.tags, |
| | | api_base: form.api_base, |
| | | // all_params: all_params, |
| | | logo: uploadUrl.value[0], |
| | | logo: uploadUrl.value[0] || '', |
| | | }) |
| | | .then((resData) => { |
| | | if ((resData as any).code === 200) { |