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;
@@ -402,7 +403,7 @@
  justify-content: space-between;
  height: 100%;
  overflow: auto;
  //background: #626aea;
  border-radius: 8px;
  background: var(--color-bg-2);
  padding-top: 80px;