配置管理-机构管理 没有数据的问题(代码优化)

This commit is contained in:
yanyizhou
2021-09-29 16:40:13 +08:00
parent 332ad90625
commit b5be4a9b92
@@ -101,7 +101,7 @@
<el-popover trigger="hover" placement="top">
{{scope.row.institutionName}}
<div slot="reference" class="name-wrapper">
<p v-if="scope.row.institutionName ==null || scope.row.institutionName.length<15">
<p v-if="!scope.row.institutionName || scope.row.institutionName.length<15">
{{scope.row.institutionName}}
</p>
<p v-else> {{scope.row.institutionName.substring(0,15)}}...</p>
@@ -116,7 +116,7 @@
<el-popover trigger="hover" placement="top">
{{scope.row.NameList}}
<div slot="reference" class="name-wrapper">
<p v-if="scope.row.institutionName ==null ||scope.row.NameList.length<15">
<p v-if="!scope.row.institutionName ||scope.row.NameList.length<15">
{{scope.row.NameList}}
</p>
<p v-else> {{scope.row.NameList.substring(0,15)}}...</p>