mixins优化

This commit is contained in:
2022-02-24 09:28:59 +08:00
parent 358372cdba
commit 78d4611fb2
5 changed files with 35 additions and 37 deletions

View File

@@ -1,13 +1,9 @@
import utils from '@/utils/index.js'
const imBase = {
onLoad() {
console.log('IM BASE MININX');
},
data() {
return {
}
export default {
onLoad() {},
data() {
return {}
},
computed: {
contact() {
@@ -17,8 +13,9 @@ const imBase = {
},
avatarSize() {
return utils.rpx2px(84)
},
sender() {
return this.$store.getters.sender
}
}
}
export default imBase
}