涉黄提示
This commit is contained in:
parent
1f6d2b4ab3
commit
fb81800253
@ -28,7 +28,7 @@
|
|||||||
<!-- 标签的引入 -->
|
<!-- 标签的引入 -->
|
||||||
<tap_tosign :fileListes="fileListes" @chuangjian="chuangjian" @qiehuan="qiehuan"></tap_tosign>
|
<tap_tosign :fileListes="fileListes" @chuangjian="chuangjian" @qiehuan="qiehuan"></tap_tosign>
|
||||||
<view class="titles">直播封面图</view>
|
<view class="titles">直播封面图</view>
|
||||||
<u-upload :form-data="{'name':'article_cover'}" action='https://mall.dmygkeji.com/storeapi/Upload/uploadFile' name="article_cover" :header="{'Authorization' : 'Bearer' + ' ' + token}" :max-count="1" :show-progress="true" @on-change="tupian" @on-success="sccg" del-color="#ececec" upload-text="上传" del-bg-color="#fff" :before-upload="shangchuan"></u-upload>
|
<u-upload ref="upload" :form-data="{'name':'article_cover'}" action='https://mall.dmygkeji.com/storeapi/Upload/uploadFile' name="article_cover" :header="{'Authorization' : 'Bearer' + ' ' + token}" :max-count="1" :show-progress="true" @on-change="tupian" @on-success="sccg" del-color="#ececec" upload-text="上传" del-bg-color="#fff" :before-upload="shangchuan"></u-upload>
|
||||||
</view>
|
</view>
|
||||||
<view class="button-uview">
|
<view class="button-uview">
|
||||||
<u-button :hair-line="false" @click="kaibo">{{relerest}}</u-button>
|
<u-button :hair-line="false" @click="kaibo">{{relerest}}</u-button>
|
||||||
@ -112,9 +112,18 @@
|
|||||||
tupian(a){
|
tupian(a){
|
||||||
// console.log(JSON.parse(a.data));
|
// console.log(JSON.parse(a.data));
|
||||||
let info = JSON.parse(a.data);
|
let info = JSON.parse(a.data);
|
||||||
console.log(info.data);
|
console.log(info);
|
||||||
// console.log(JSON.stringify(a.data))
|
// console.log(JSON.stringify(a.data))
|
||||||
|
if(info.errCode == 1){
|
||||||
|
this.$refs.uToast.show({
|
||||||
|
title: info.message,
|
||||||
|
type: 'error'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
this.$refs.upload.clear()
|
||||||
|
return ;
|
||||||
this.image = info.data.file_name;
|
this.image = info.data.file_name;
|
||||||
|
|
||||||
},
|
},
|
||||||
navto(url){
|
navto(url){
|
||||||
this.$u.route({
|
this.$u.route({
|
||||||
|
Loading…
Reference in New Issue
Block a user