liudong
2024-08-09 478808cba94297e7dde76bd1b91acd38840649d7
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;