Commit 307bbe0f authored by Mac's avatar Mac

判断下

parent f8fc8c1b
...@@ -27,9 +27,12 @@ ...@@ -27,9 +27,12 @@
<text >{{item.nationality}}</text> <text >{{item.nationality}}</text>
</view> </view>
<view class="textone"> <view class="textone">
<text v-for="(x, y) in item.lableNameList" :key="y"> <text v-for="(x, y) in item.lableNameList" :key="y" v-if="item.lableNameList!=null && item.lableNameList.length>0">
{{x}}{{item.lableNameList.length==y+1?'':'、'}} {{x}}{{item.lableNameList.length==y+1?'':'、'}}
</text> </text>
<text v-if="item.lableNameList==null || item.lableNameList.length==0">
教育
</text>
</view> </view>
......
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