代码更新

This commit is contained in:
GaoHao
2025-02-26 19:46:20 +08:00
parent 7519ffced3
commit b4a0393d2d
413 changed files with 7483 additions and 60762 deletions

View File

@@ -5,9 +5,8 @@
</template>
<script setup>
import {
$uploadFile
} from '@/http/yskApi/file.js'
import { uploadFile } from '@/api/index.js'
import {
reactive,
ref,
@@ -64,10 +63,11 @@
function FileUploadselect(e) {
for (let i in e.tempFiles) {
const file = e.tempFiles[i]
$uploadFile(file).then(res => {
console.log(e)
uploadFile(file).then(res => {
console.log(res);
imgList.value.push({
url: res.data[0],
url: res,
path: file.path
})
}).catch(res=>{