bug
This commit is contained in:
@@ -83,13 +83,16 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
||||||
|
},
|
||||||
|
onLoad() {
|
||||||
|
this.$dict.load('sex', 'nation', 'education', 'job', 'faithType', 'politicsStatus', 'militaryStatus', 'householdRelation', 'householdName')
|
||||||
console.log('居民档案性别(无字典)', this.resident.sex)
|
console.log('居民档案性别(无字典)', this.resident.sex)
|
||||||
console.log('居民档案性别(有字典)', this.$dict.getLabel('sex', this.resident.sex))
|
console.log('居民档案性别(有字典)', this.$dict.getLabel('sex', this.resident.sex))
|
||||||
console.log('居民档案字典值', this.$dict.getDict('sex'))
|
console.log('居民档案字典值', this.$dict.getDict('sex'))
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = '居民详情'
|
document.title = '居民详情'
|
||||||
this.$dict.load('sex', 'nation', 'education', 'job', 'faithType', 'politicsStatus', 'militaryStatus', 'householdRelation', 'householdName')
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user