This commit is contained in:
liuye
2022-06-07 19:07:38 +08:00
parent 9c94633114
commit dcefef9660
2 changed files with 31 additions and 13 deletions

View File

@@ -66,12 +66,13 @@
</template>
<script>
import { mapActions } from 'vuex'
import { mapActions, mapState } from 'vuex'
export default {
name: 'info',
inject: ['top'],
computed: {
...mapState(['user']),
resident() {
return this.top.detail?.residentInfo?.resident || {}
},