Merge branch 'vue3'

This commit is contained in:
pikachu1995@126.com
2026-07-13 16:56:36 +08:00
34 changed files with 129 additions and 262 deletions

View File

@@ -147,7 +147,7 @@
<el-upload
v-if="canUploadImages"
ref="up"
:action="commonUrl + '/common/common/upload/file'"
:action="sellerUrl + '/store/common/upload/file'"
:data="uploadData"
:headers="accessToken"
:before-upload="beforeUpload"
@@ -317,7 +317,7 @@ import {
updateFileDirectory,
} from "@/api/index";
import DPlayer from "dplayer";
import {commonUrl} from "@/libs/axios";
import {sellerUrl} from "@/libs/axios";
import config from "@/config/index";
import playImg from "@/assets/play.png";
@@ -342,7 +342,7 @@ export default {
},
data() {
return {
commonUrl, // 上传文件路径
sellerUrl, // 上传文件路径
config, // api地址
fileDirectoryId: "",
groupFormValidate: {

View File

@@ -97,7 +97,7 @@
<el-form-item v-if="canUploadImages">
<el-upload
ref="up"
:action="commonUrl + '/common/common/upload/file'"
:action="sellerUrl + '/store/common/upload/file'"
:data="uploadData"
:headers="accessToken"
:before-upload="beforeUpload"
@@ -313,7 +313,7 @@ import {
updateFileDirectory,
} from "@/api/index";
import DPlayer from "dplayer";
import {commonUrl} from "@/libs/axios";
import {sellerUrl} from "@/libs/axios";
import config from "@/config/index";
import playImg from "@/assets/play.png";
@@ -342,7 +342,7 @@ export default {
},
data() {
return {
commonUrl, // 上传文件路径
sellerUrl, // 上传文件路径
config, // api地址
fileDirectoryId: "",
groupFormValidate: {