更新
This commit is contained in:
@ -9,6 +9,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getItem } from "@/utils/storage";
|
||||
import { timeValidate } from '@/utils/tools'
|
||||
import DraggerAble from './components/draggerAble.vue'
|
||||
import useConfernceEvent from './components/js/useConfernceEvent';
|
||||
@ -21,6 +22,7 @@ import { useStore } from "vuex";
|
||||
const emit = defineEmits(['update']);
|
||||
const modleType = ref('')
|
||||
const store = useStore();
|
||||
const inDustRialId = getItem('inDustRialId'); // 当前用户的警号
|
||||
const sdkBDModule = useBaseDataModule();
|
||||
const baseInfo = localStorage.getItem('rhInfo') ? JSON.parse(localStorage.getItem('rhInfo')) : {};
|
||||
const showVideo = ref(false)//拖动视频
|
||||
@ -158,7 +160,7 @@ const Init = () => {
|
||||
let token = window.localStorage.getItem("rhToken");
|
||||
if (!token) {
|
||||
let userInfo = {
|
||||
username: "sgxtcs",
|
||||
username: inDustRialId, //用户名
|
||||
password: "123456",
|
||||
realm: "puc.com",
|
||||
webpucUrl: "https://89.40.9.95:16888"
|
||||
@ -175,7 +177,7 @@ const Init = () => {
|
||||
|
||||
const ConnectWebsocket = (token) => {
|
||||
lemon.login.reConnectWebsocket({
|
||||
username: "sgxtcs",
|
||||
username: inDustRialId, //用户名
|
||||
realm: "puc.com",
|
||||
webpucUrl: "https://89.40.9.95:16888",
|
||||
token: token
|
||||
|
||||
Reference in New Issue
Block a user