涉黄提示

This commit is contained in:
luyuan 2020-09-11 20:23:34 +08:00
parent 1f6d2b4ab3
commit fb81800253
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -28,7 +28,7 @@
<!-- 标签的引入 -->
<tap_tosign :fileListes="fileListes" @chuangjian="chuangjian" @qiehuan="qiehuan"></tap_tosign>
<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 class="button-uview">
<u-button :hair-line="false" @click="kaibo">{{relerest}}</u-button>
@ -112,9 +112,18 @@
tupian(a){
// console.log(JSON.parse(a.data));
let info = JSON.parse(a.data);
console.log(info.data);
console.log(info);
// 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;
},
navto(url){
this.$u.route({