删除debugger,证照信息需要上传正反面,修改店铺信息,地址回显,bug修改,代码优化,店铺详情展示优化

This commit is contained in:
mabo
2021-08-13 18:03:07 +08:00
parent cfc5c94f5a
commit 14a8695cc9
6 changed files with 226 additions and 143 deletions

View File

@@ -158,7 +158,7 @@
<Button type="info" :loading="uploadLoading1">证照上传</Button>
</Upload>
<div class="describe">
请压缩图片在2M以内格式为gifjpgpng确保文字清晰以免上传或审核失败
请压缩图片在2M以内身份证正反面两张照片确保图片清晰无缺角
</div>
<div
class="img-list"
@@ -299,8 +299,8 @@ export default {
// 上传之前
beforeUpload1 () {
this.uploadLoading1 = true;
if (this.form.legalPhoto.length >= 3) {
this.$Message.warning('最多上传张图片')
if (this.form.legalPhoto.length >= 2) {
this.$Message.warning('最多上传张图片')
return false;
}
},
@@ -313,8 +313,6 @@ export default {
handleSuccess1 (res, file) {
this.uploadLoading1 = false;
this.form.legalPhoto.push(res.result);
console.log(res);
console.log(file);
},
// 上传失败
uploadErr () {