Refactor API requests and update component imports
This commit is contained in:
@ -88,10 +88,10 @@
|
||||
import { throttle } from 'lodash'
|
||||
import { ref, onMounted, nextTick } from 'vue'
|
||||
import { Picture, Position, Sunrise, Loading } from '@element-plus/icons-vue'
|
||||
import { upload } from '@/api/common'
|
||||
import { sendKefuMessage, getMessagePage } from '@/api/channel/index'
|
||||
import type { msgType, PageResultMessageRespVO } from '@/api/channel/types'
|
||||
import useUserStore from '@/store/user'
|
||||
import { upload } from '~/api/common'
|
||||
import { sendKefuMessage, getMessagePage } from '~/api/channel/index'
|
||||
import type { msgType, PageResultMessageRespVO } from '~/api/channel/types'
|
||||
import useUserStore from '~/store/user'
|
||||
const userStore = useUserStore()
|
||||
import dayjs from 'dayjs'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user