mixins优化
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user