提交 81740a98 authored 作者: 王天霸's avatar 王天霸

1

上级 ce04d107
...@@ -610,6 +610,7 @@ ...@@ -610,6 +610,7 @@
// 店铺logo回显处理 // 店铺logo回显处理
let logoImgArr = []; let logoImgArr = [];
let logoImgUrl = {}; let logoImgUrl = {};
this.logoImgFileList = []
logoImgArr = this.storeForm.shop_logo.split(","); logoImgArr = this.storeForm.shop_logo.split(",");
if (logoImgArr.length > 0) { if (logoImgArr.length > 0) {
logoImgArr.forEach(item => { logoImgArr.forEach(item => {
...@@ -653,6 +654,7 @@ ...@@ -653,6 +654,7 @@
// 店铺logo回显处理 // 店铺logo回显处理
let logoImgArr = []; let logoImgArr = [];
let logoImgUrl = {}; let logoImgUrl = {};
this.editLogoImgFileList = []
logoImgArr = this.editForm.shop_logo.split(","); logoImgArr = this.editForm.shop_logo.split(",");
if (logoImgArr.length > 0) { if (logoImgArr.length > 0) {
logoImgArr.forEach(item=> { logoImgArr.forEach(item=> {
...@@ -789,6 +791,7 @@ ...@@ -789,6 +791,7 @@
let result = res.split(","); let result = res.split(",");
this.Base64img = result[1]; this.Base64img = result[1];
let data = {"img_data": this.Base64img,"type":2}; let data = {"img_data": this.Base64img,"type":2};
this.editLogoImgFileList = []
upLoadImg(data).then((res) => { upLoadImg(data).then((res) => {
if (res && res.code == 1) { if (res && res.code == 1) {
this.editLogoImgFileList.push({'url': res.data.image_url}); this.editLogoImgFileList.push({'url': res.data.image_url});
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论