This commit is contained in:
yanran200730
2022-11-09 10:41:40 +08:00
parent bd94a1372a
commit e8948dc28d
4 changed files with 4 additions and 4 deletions

View File

@@ -124,7 +124,7 @@
uploadFile (img, total) {
uni.uploadFile({
url: this.$instance.defaults.baseURL + (process.env.NODE_ENV == 'production' ? 'api' : '') + '/file/add',
url: this.$instance.defaults.baseURL + (process.env.NODE_ENV == 'production' ? '/api' : '') + '/file/add',
filePath: img,
name: 'file',
header: {