技师头像压缩
This commit is contained in:
parent
91e59e06c2
commit
91958a7d87
|
@ -8,6 +8,7 @@ const serverUrl = "https://admin.sjajk.com/sqx_fast/";//生产需替换
|
|||
export const serverPaths = {
|
||||
serverUrl ,
|
||||
uploadUrl : serverUrl + "alioss/upload",
|
||||
uploadAvatar : serverUrl + "alioss/uploadAvatar",
|
||||
uploadWatermarkUrl : serverUrl + "alioss/uploadWatermark",
|
||||
uploadMusicUrl : serverUrl + "alioss/uploadMusic",
|
||||
}
|
||||
|
|
|
@ -1954,7 +1954,7 @@
|
|||
<div
|
||||
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
|
||||
<el-upload class="avatar-uploader" v-model="artificerImg"
|
||||
:action="uploadUrl" :show-file-list="false"
|
||||
:action="uploadAvatar" :show-file-list="false"
|
||||
:on-success="handleAvatarSuccess1" :on-progress="onprogress2">
|
||||
<!-- <el-progress type="circle" :percentage="100" status="success"></el-progress> -->
|
||||
<img v-if="artificerImg != ''" :src="artificerImg" class="avatar"
|
||||
|
@ -2195,6 +2195,7 @@ import { serverPaths } from '@/utils/enumData'
|
|||
data() {
|
||||
return {
|
||||
uploadUrl: serverPaths.uploadUrl,
|
||||
uploadAvatar: serverPaths.uploadAvatar,
|
||||
uploadWatermarkUrl: serverPaths.uploadWatermarkUrl,
|
||||
artificerIdSet: null,
|
||||
integratingDataStatus: true,
|
||||
|
|
Loading…
Reference in New Issue