refactor: mp export
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
export { default } from './main.vue';
|
||||
export * from './types';
|
||||
|
||||
export { MsgType } from './types';
|
||||
export { default as WxMsg } from './wx-msg.vue';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { User } from '../types';
|
||||
import type { User } from './types';
|
||||
|
||||
import { formatDateTime } from '@vben/utils';
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
<script lang="ts" setup>
|
||||
import { ref } from 'vue';
|
||||
|
||||
import WxLocation from '#/views/mp/modules/wx-location';
|
||||
import WxMusic from '#/views/mp/modules/wx-music';
|
||||
import WxNews from '#/views/mp/modules/wx-news';
|
||||
import WxVideoPlayer from '#/views/mp/modules/wx-video-play';
|
||||
import WxVoicePlayer from '#/views/mp/modules/wx-voice-play';
|
||||
import { WxLocation } from '#/views/mp/modules/wx-location';
|
||||
import { WxMusic } from '#/views/mp/modules/wx-music';
|
||||
import { WxNews } from '#/views/mp/modules/wx-news';
|
||||
import { WxVideoPlayer } from '#/views/mp/modules/wx-video-play';
|
||||
import { WxVoicePlayer } from '#/views/mp/modules/wx-voice-play';
|
||||
|
||||
import { MsgType } from '../types';
|
||||
import MsgEvent from './msg-event.vue';
|
||||
import { MsgType } from './types';
|
||||
|
||||
defineOptions({ name: 'Msg' });
|
||||
|
||||
@@ -17,9 +17,9 @@ import { Button, message, Spin } from 'ant-design-vue';
|
||||
import { getMessagePage, sendMessage } from '#/api/mp/message';
|
||||
import { getUser } from '#/api/mp/user';
|
||||
import profile from '#/assets/imgs/profile.jpg';
|
||||
import WxReplySelect, { ReplyType } from '#/views/mp/modules/wx-reply';
|
||||
import { ReplyType, WxReplySelect } from '#/views/mp/modules/wx-reply';
|
||||
|
||||
import MsgList from './modules/msg-list.vue';
|
||||
import MsgList from './msg-list.vue';
|
||||
|
||||
defineOptions({ name: 'WxMsg' });
|
||||
|
||||
Reference in New Issue
Block a user