| | |
| | | v-if="avatarShow" |
| | | :action="uploadAction" |
| | | :limit="1" |
| | | :url="form.avatar" |
| | | :url="httpUrl + form.avatar" |
| | | @update:fileList="updateFileList" |
| | | @success="handleSuccess" |
| | | ></Upload> |
| | |
| | | const uploadAction = '/api/v1/llm/upload'; // 替换为你的上传API |
| | | const fileList = ref([]); |
| | | const imageUrls = ref([]); |
| | | const httpUrl = localStorage.getItem('httpUrl'); |
| | | |
| | | const updateFileList = (newFileList) => { |
| | | fileList.value = newFileList; |
| | |
| | | justify-content: space-between; |
| | | height: 100%; |
| | | overflow: auto; |
| | | //background: #626aea; |
| | | border-radius: 8px; |
| | | background: var(--color-bg-2); |
| | | padding-top: 80px; |
| | | |