|
@@ -46,6 +46,26 @@ export default {
|
|
|
isOnunread() {
|
|
|
return this.$route.query.onunread === 'true';
|
|
|
},
|
|
|
+ ysfConfigData() {
|
|
|
+ return [
|
|
|
+ { key: 'real_name', value: this.$auth.user.userName },
|
|
|
+ { key: 'mobile_phone', hidden: true, value: this.$auth.user.phone },
|
|
|
+ { key: 'email', value: this.$auth.user.email },
|
|
|
+ {
|
|
|
+ key: 'avatar',
|
|
|
+ label: '头像',
|
|
|
+ value:
|
|
|
+ this.$auth.user.headImgFileId &&
|
|
|
+ fileKeyToUrl(this.$auth.user.headImgFileId),
|
|
|
+ }, // 访客头像
|
|
|
+ {
|
|
|
+ index: 0,
|
|
|
+ key: 'account',
|
|
|
+ label: '账号',
|
|
|
+ value: this.$auth.user.phone,
|
|
|
+ },
|
|
|
+ ];
|
|
|
+ },
|
|
|
},
|
|
|
mounted() {},
|
|
|
methods: {
|