Commit cd22db79 by zhuoym

调整上传地址为配置

parent 35860001
Showing with 2 additions and 2 deletions
......@@ -97,7 +97,7 @@
</div>
<Upload v-if="!uploadList.length || uploadList.length < 1" ref="upload" :show-upload-list="false"
:on-success="handleSuccess" :format="['jpg', 'png']" :max-size="2048" type="drag"
action="https://emaint.meiqicloud.com/api/file/uploadIcon" :before-upload="handleBeforeUpload"
:action=`${axios.defaults.baseURL}/api/file/uploadIcon` :before-upload="handleBeforeUpload"
style="display: inline-block;width:58px;">
<div style="width: 58px;height:58px;line-height: 58px;">
<Icon type="ios-plus-empty" size="20"></Icon>
......@@ -172,7 +172,7 @@
</div>
<Upload v-if="!uploadList.length || uploadList.length < 1" ref="upload" :show-upload-list="false"
:on-success="handleSuccess" :format="['jpg', 'png']" :max-size="2048" type="drag"
action="https://emaint.meiqicloud.com/api/file/uploadIcon" :before-upload="handleBeforeUpload"
:action=`${axios.defaults.baseURL}//api/file/uploadIcon` :before-upload="handleBeforeUpload"
style="display: inline-block;width:58px;">
<div style="width: 58px;height:58px;line-height: 58px;">
<Icon type="ios-plus-empty" size="20"></Icon>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment