[Client] Some optimizations
This commit is contained in:
parent
0dcb527bf3
commit
a63ec05e41
7 changed files with 17 additions and 11 deletions
|
|
@ -3,7 +3,7 @@
|
|||
<mk-widget-container :show-header="!props.compact">
|
||||
<template slot="header"><fa icon="chart-bar"/>{{ $t('activity') }}</template>
|
||||
<div :class="$style.body">
|
||||
<mk-activity :user="$store.state.i"/>
|
||||
<x-activity :user="$store.state.i"/>
|
||||
</div>
|
||||
</mk-widget-container>
|
||||
</div>
|
||||
|
|
@ -20,6 +20,9 @@ export default define({
|
|||
})
|
||||
}).extend({
|
||||
i18n: i18n(),
|
||||
components: {
|
||||
XActivity: () => import('../components/activity.vue').then(m => m.default)
|
||||
},
|
||||
methods: {
|
||||
func() {
|
||||
this.props.compact = !this.props.compact;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue