@@ -21,7 +21,8 @@
"vue-amap": "^0.5.10",
"vue-echarts": "^6.0.2",
"vue-router": "^3.2.0",
- "vuex": "^3.4.0"
+ "vuex": "^3.4.0",
+ "vue-loader": "^13.3.0"
},
"devDependencies": {
"@riophae/vue-treeselect": "^0.4.0",
@@ -11,8 +11,8 @@
<div class="choices" style="min-height: 20px;margin-bottom: 10px;display: flex;justify-content: space-between;" v-if="item.flag">
<div style="width: 60px;">投票人:</div>
<div class="nameList">
- <span v-for="tar in item.choices" style="margin-right: 10px;color: #1890ff;">
- {{tar.passportName}}
+ <span v-for="tar in item.choices" v-if="tar != null" style="margin-right: 10px;color: #1890ff;">
+ {{tar.voterName}}
</span>
</div>