src/views/dmx/IntelligentAgent/components/agentConfig.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/dmx/knowledgeLib/config.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/dmx/IntelligentAgent/components/agentConfig.vue
@@ -51,7 +51,7 @@ <Upload :action="uploadAction" :limit="1" :url="form.icon" :url="httpUrl + form.icon" @update:fileList="updateFileList" @success="handleSuccess" ></Upload> @@ -314,7 +314,7 @@ let presence_penalty = ref(true); let frequency_penalty = ref(true); let max_tokens = ref(true); const httpUrl = localStorage.getItem('httpUrl'); const height = ref('calc(500px)'); const props = defineProps(['typeAngint', 'formData']); src/views/dmx/knowledgeLib/config.vue
@@ -18,7 +18,7 @@ v-if="avatarShow" :action="uploadAction" :limit="1" :url="form.avatar" :url="httpUrl + form.avatar" @update:fileList="updateFileList" @success="handleSuccess" ></Upload> @@ -230,6 +230,7 @@ const uploadAction = '/api/v1/llm/upload'; // 替换为你的上传API const fileList = ref([]); const imageUrls = ref([]); const httpUrl = localStorage.getItem('httpUrl'); const updateFileList = (newFileList) => { fileList.value = newFileList;