parent
21303bd06a
commit
25a69ec1b6
211 changed files with 1825 additions and 1624 deletions
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="mkw-messaging">
|
||||
<mk-widget-container :show-header="props.design == 0">
|
||||
<template slot="header"><fa icon="comments"/>%i18n:@title%</template>
|
||||
<template slot="header"><fa icon="comments"/>{{ $t('title') }}</template>
|
||||
<button slot="func" @click="add"><fa icon="plus"/></button>
|
||||
|
||||
<mk-messaging ref="index" compact @navigate="navigate"/>
|
||||
|
@ -11,6 +11,7 @@
|
|||
|
||||
<script lang="ts">
|
||||
import define from '../../../common/define-widget';
|
||||
import i18n from '../../../i18n';
|
||||
import MkMessagingRoomWindow from '../components/messaging-room-window.vue';
|
||||
import MkMessagingWindow from '../components/messaging-window.vue';
|
||||
|
||||
|
@ -20,6 +21,7 @@ export default define({
|
|||
design: 0
|
||||
})
|
||||
}).extend({
|
||||
i18n: i18n('desktop/views/widgets/messaging.vue'),
|
||||
methods: {
|
||||
navigate(user) {
|
||||
(this as any).os.new(MkMessagingRoomWindow, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue