通讯录是否显示号码
This commit is contained in:
@@ -11,7 +11,8 @@
|
||||
</div>
|
||||
<div class="user-info">
|
||||
<img :src="item.photo" alt="" v-if="item.photo">
|
||||
<img src="./img/user-img.png" alt="" v-else>{{ item.name }}
|
||||
<img src="./img/user-img.png" alt="" v-else>{{ item.name }}
|
||||
<span v-if="isShowPhone && item.mobile">({{item.mobile}})</span>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -41,7 +42,7 @@ export default {
|
||||
list: [],
|
||||
cirIcon: require('./img/xz.png'),
|
||||
checkIcon: require('./img/xzh.png'),
|
||||
selected: []
|
||||
selected: [],
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -55,6 +56,9 @@ export default {
|
||||
isRequire() {
|
||||
return this.$route.query.isRequire || 1
|
||||
},
|
||||
isShowPhone() {
|
||||
return this.$route.query.isShowPhone
|
||||
},
|
||||
},
|
||||
onLoad(query) {
|
||||
if (query.selected) {
|
||||
|
||||
Reference in New Issue
Block a user