提交 3aa01e6b 编写于 作者: changdi.hao's avatar changdi.hao

修改判断逻辑

上级 4e650806
......@@ -1813,10 +1813,10 @@
},
//店铺是否配置售后地址
getStoreAdress() {
getStoreAdressRepot(this.formData.storeId).then(res => {
getStoreAdressRepot(this.storeId).then(res => {
if (res.code == "000000") {
// repotList 地址数组
if(res.data && res.data.repotList) {
if(res.data && res.data.repotList && res.data.repotList.length) {
this.hasRepoFlag = true;
} else {
this.hasRepoFlag = false;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册