Commit 54f6972d authored by xinzhedeai's avatar xinzhedeai

数据概览 商品为空处理

parent 62c66674
......@@ -276,8 +276,9 @@
<div class="_left">企业产品</div>
<div class="_right" @click="getMore4panel1_3">查看更多>></div>
</div>
<div class="_body">
<dl>
<div class="_body" style="padding-bottom:20px;">
<div v-if="!data4panel1.companyProductList.length" style="display:flex;justify-content:center;align-items:center; font-size:14px;color:#686868;">暂无数据</div>
<dl v-else>
<dd v-for="(item,index) in data4panel1.companyProductList" :key="index">
<img
:src="`${baseAPI}file/${item.image}`"
......@@ -657,6 +658,9 @@
if(this.tableData4panel1.length){
this.getData4panel1_1(this.tableData4panel1[0].companyId)
this.currentSelectedCompanyId = this.tableData4panel1[0].companyId
}else{ // 公司列表为空的时候, 数据为空.
this.getData4panel1_1('')
this.currentSelectedCompanyId = ''
}
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment