| | |
| | | ElCountdown: typeof import('element-plus/es')['ElCountdown'] |
| | | ElDatePicker: typeof import('element-plus/es')['ElDatePicker'] |
| | | ElDialog: typeof import('element-plus/es')['ElDialog'] |
| | | ElDrawer: typeof import('element-plus/es')['ElDrawer'] |
| | | ElDropdown: typeof import('element-plus/es')['ElDropdown'] |
| | | ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem'] |
| | | ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu'] |
| | |
| | | const submitDialog = ref(false); |
| | | const timeDialog = ref(false); |
| | | |
| | | // const { status, message, error, connect, disconnect, sendMessage } = useWebScoket({ |
| | | // url: 'wss://42.193.1.25:8000/websocket/' + userInfo.value.id, |
| | | // heartBeatData: 'ping' |
| | | // }); |
| | | const { status, message, error, connect, disconnect, sendMessage } = useWebScoket({ |
| | | url: 'wss://42.193.1.25:8000/websocket/' + userInfo.value.id, |
| | | heartBeatData: 'ping' |
| | | }); |
| | | |
| | | const { status, message, error, connect, disconnect, sendMessage } = |
| | | useWebScoket({ |
| | | url: "//192.168.3.64:8000/websocket/" + userInfo.value.id, |
| | | heartBeatData: "ping", |
| | | }); |
| | | // const { status, message, error, connect, disconnect, sendMessage } = |
| | | // useWebScoket({ |
| | | // url: "//192.168.3.64:8000/websocket/" + userInfo.value.id, |
| | | // heartBeatData: "ping", |
| | | // }); |
| | | |
| | | // 上一题 |
| | | const prevQuestion = () => { |
| | |
| | | const { userInfo } = storeToRefs(userStore); |
| | | const { status, message, error, connect, disconnect, sendMessage } = |
| | | useWebScoket({ |
| | | url: "ws://42.193.1.25:8000/websocket/" + userInfo.value.id, |
| | | url: "wss://42.193.1.25:8000/websocket/" + userInfo.value.id, |
| | | heartBeatData: "ping", |
| | | }); |
| | | |
| | |
| | | </template> |
| | | |
| | | <script setup> |
| | | import { ref, onMounted } from 'vue'; |
| | | import {ref, onMounted} from 'vue'; |
| | | import {useRoute} from 'vue-router'; |
| | | |
| | | const route = useRoute(); |
| | | const meet = ref(null); |
| | | |
| | |
| | | prejoinConfig: { |
| | | enabled: false |
| | | }, |
| | | //禁用邮箱 |
| | | gravatar: { |
| | | disabled: true |
| | | }, |
| | | //禁用改名 |
| | | readOnlyName: true, |
| | | remoteVideoMenu: { |
| | | disabled: true, |
| | | disableKick: true, |
| | | disableGrantModerator: true |
| | | }, |
| | | disableRemoteMute: true, |
| | | //主持人选项 |
| | | participantsPane: { |
| | | enabled: true, |
| | | hideMoreActionsButton: true, |
| | | hideModeratorSettingsTab: true, |
| | | hideMuteAllButton: true, |
| | | }, |
| | | whiteboard: { |
| | | enabled: false |
| | | enabled: true |
| | | } |
| | | }, |
| | | toolbarButtons: ['whiteboard',], |
| | | userInfo: { |
| | | displayName: userName |
| | | } |
| | |
| | | |
| | | }); |
| | | } |
| | | |
| | | |
| | | |
| | | </script> |
| | |
| | | proxy: { |
| | | '/api': { |
| | | // target: 'http://192.168.3.88:8000', |
| | | target: 'http://192.168.3.64:8000', |
| | | target: 'http://42.193.1.25:8000', |
| | | changeOrigin: true, |
| | | } |
| | | } |