caner 1 year ago
parent
commit
6cfb94ded9
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/App.vue
  2. 1 1
      src/pages/room/index.vue

+ 2 - 2
src/App.vue

@@ -16,10 +16,10 @@
 import { computed, provide, watch } from 'vue'
 import { zhCN, dateZhCN } from 'naive-ui'
 import { useRouter } from 'vue-router'
+import MqttService from '@/services/mqtt.service'
 import loading from '@/components/loading.vue'
-import useStore from './store/index'
 import Theme from '@/assets/naive-theme'
-import MqttService from '@/services/mqtt.service'
+import useStore from './store/index'
 
 const mqtt = new MqttService()
 const store = useStore()

+ 1 - 1
src/pages/room/index.vue

@@ -33,9 +33,9 @@ import {
   shallowRef,
   defineAsyncComponent
 } from 'vue'
+import WebRtcService from '@/services/webrtc.service'
 import topBar from '@/components/topBar.vue'
 import Gauge from '@/components/gauge.vue'
-import WebRtcService from '@/services/webrtc.service'
 import useStore from '@/store/index'
 
 const remoteVideo = ref(null as unknown as HTMLVideoElement)