feat:对接接口、完善功能
This commit is contained in:
@@ -2,20 +2,22 @@
|
||||
<Header title="奉节县旅游指挥调度中心" is-skip :nav-left="navLeft" :nav-right="navRight" />
|
||||
<CoreVideo />
|
||||
<box1 :data="data" />
|
||||
<box2 />
|
||||
<box3 />
|
||||
<box4 />
|
||||
<Correspondence />
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import box1 from './components/box-1.vue'
|
||||
import box2 from './components/box-2.vue'
|
||||
import box3 from './components/box-3.vue'
|
||||
import box4 from './components/box-4.vue'
|
||||
|
||||
import { useWebSocket } from '@/hooks/socket'
|
||||
|
||||
const { data, sendMessage } = useWebSocket('ws://36.138.38.16:81/ws/third-party')
|
||||
|
||||
provide('homeData', data)
|
||||
|
||||
const navLeft = [
|
||||
{ name: '安全', path: '/monitor' },
|
||||
{ name: '景区', path: '/scenic' },
|
||||
|
||||
Reference in New Issue
Block a user