|
|
@@ -471,7 +471,11 @@ export default {
|
|
|
localStorage.setItem('chainName', res.data.storeName);
|
|
|
if (res.code == 200) {
|
|
|
this.list = res.data;
|
|
|
- this.displayImg = this.list.imgSed != '' ? this.list.imgSed.split(',') : [];
|
|
|
+ if (this.list.imgSed && this.list.imgSed != '') {
|
|
|
+ this.displayImg = this.list.imgSed.split(',');
|
|
|
+ } else {
|
|
|
+ this.displayImg = [];
|
|
|
+ }
|
|
|
if (this.list.carShopImgList != null) {
|
|
|
} else {
|
|
|
this.list.carShopImgList = [];
|