fix(commentList): 修改图片上传逻辑,使用文件对象代替base64

refactor(uploadImg): 重构图片上传方法,支持FormData方式上传
feat(upload): 添加获取上传配置的逻辑
chore: 更新构建文件和依赖版本
This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-09-08 17:16:30 +08:00
parent d8f5b53e4a
commit 6c9221aa08
14 changed files with 121 additions and 82 deletions

View File

@@ -2609,75 +2609,75 @@ const assets$1 = {
"size": 2238,
"path": "../public/favicon.ico"
},
"/static/6S51YVf7.js": {
"/static/7PxzC_cV.js": {
"type": "text/javascript; charset=utf-8",
"etag": "\"24c9-YUsghr2pjjqJ3x4E5BHgseBcQQg\"",
"mtime": "2025-09-01T06:41:24.520Z",
"size": 9417,
"path": "../public/static/6S51YVf7.js"
"etag": "\"d3c-kp4b1SmIINFodGlWZuseLy8KhgQ\"",
"mtime": "2025-09-08T09:13:09.193Z",
"size": 3388,
"path": "../public/static/7PxzC_cV.js"
},
"/static/DEG17TeB.js": {
"/static/BLt8-I-t.js": {
"type": "text/javascript; charset=utf-8",
"etag": "\"69cdb-+dZzVgnhTzip7wxiL3e8h6p6SkQ\"",
"mtime": "2025-09-01T06:41:24.521Z",
"size": 433371,
"path": "../public/static/DEG17TeB.js"
"etag": "\"24c9-eZatPoRkYs/r8OM4lQC0ns1+7UA\"",
"mtime": "2025-09-08T09:13:09.193Z",
"size": 9417,
"path": "../public/static/BLt8-I-t.js"
},
"/static/empty-icon.CyaRoygc.png": {
"type": "image/png",
"etag": "\"17df-ZbUVuzPJ5DAL9B9xteitdPCiUxY\"",
"mtime": "2025-09-01T06:41:24.481Z",
"mtime": "2025-09-08T09:13:09.193Z",
"size": 6111,
"path": "../public/static/empty-icon.CyaRoygc.png"
},
"/static/entry.BIMASYCp.css": {
"type": "text/css; charset=utf-8",
"etag": "\"198ea-9FfCWH/xtWZDfy29j+hT7NuJWm4\"",
"mtime": "2025-09-01T06:41:24.481Z",
"mtime": "2025-09-08T09:13:09.177Z",
"size": 104682,
"path": "../public/static/entry.BIMASYCp.css"
},
"/static/error-404.CZkObG7r.css": {
"type": "text/css; charset=utf-8",
"etag": "\"de4-qBee3TVrfYv3V1By16k8mWrjcVQ\"",
"mtime": "2025-09-01T06:41:24.520Z",
"mtime": "2025-09-08T09:13:09.177Z",
"size": 3556,
"path": "../public/static/error-404.CZkObG7r.css"
},
"/static/error-500.BFrSi6nG.css": {
"type": "text/css; charset=utf-8",
"etag": "\"75c-1DSF9z8DiRXW3VbuCpNqepB9vI0\"",
"mtime": "2025-09-01T06:41:24.520Z",
"mtime": "2025-09-08T09:13:09.177Z",
"size": 1884,
"path": "../public/static/error-500.BFrSi6nG.css"
},
"/static/logo.DlviZpxD.png": {
"type": "image/png",
"etag": "\"843f-FSXGFGigIHmtzjdcQzuMz/a7E+o\"",
"mtime": "2025-09-01T06:41:24.480Z",
"mtime": "2025-09-08T09:13:09.177Z",
"size": 33855,
"path": "../public/static/logo.DlviZpxD.png"
},
"/static/RzIEFrlU.js": {
"/static/mbMJmbi0.js": {
"type": "text/javascript; charset=utf-8",
"etag": "\"d3c-cTJfU3gptXo+KvLw/SziT55BEtY\"",
"mtime": "2025-09-01T06:41:24.521Z",
"size": 3388,
"path": "../public/static/RzIEFrlU.js"
"etag": "\"69de0-cObBJ1tibC5NznFwd2bv9JCK348\"",
"mtime": "2025-09-08T09:13:09.193Z",
"size": 433632,
"path": "../public/static/mbMJmbi0.js"
},
"/static/builds/latest.json": {
"type": "application/json",
"etag": "\"47-je0j1XTn6y+XlJMYzJos9J7LGdc\"",
"mtime": "2025-09-01T06:41:28.240Z",
"etag": "\"47-6qO5m0z0/JLm7LnmiAzFI8m4cZ4\"",
"mtime": "2025-09-08T09:13:14.306Z",
"size": 71,
"path": "../public/static/builds/latest.json"
},
"/static/builds/meta/5cb05798-4da7-4203-b6e9-f315f8f99c4a.json": {
"/static/builds/meta/e2c32288-5fef-4097-afab-642f152db17b.json": {
"type": "application/json",
"etag": "\"8b-jagADAJL4QqGQjqxdeYmBFoASIk\"",
"mtime": "2025-09-01T06:41:28.242Z",
"etag": "\"8b-I118jjJg9Mfnf9WR8Cnw/IA7IFE\"",
"mtime": "2025-09-08T09:13:14.307Z",
"size": 139,
"path": "../public/static/builds/meta/5cb05798-4da7-4203-b6e9-f315f8f99c4a.json"
"path": "../public/static/builds/meta/e2c32288-5fef-4097-afab-642f152db17b.json"
}
};
@@ -4349,7 +4349,7 @@ function _expandFromEnv(value) {
const _inlineRuntimeConfig = {
"app": {
"baseURL": "/",
"buildId": "5cb05798-4da7-4203-b6e9-f315f8f99c4a",
"buildId": "e2c32288-5fef-4097-afab-642f152db17b",
"buildAssetsDir": "/static/",
"cdnURL": ""
},