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;