mirror of
https://gitee.com/mao-peng/MangoTestingPlatform.git
synced 2025-12-06 11:59:15 +08:00
优化样式;
This commit is contained in:
@@ -35,9 +35,10 @@
|
||||
import { webSocketURL } from '@/api/axios.config'
|
||||
import { SERVER } from '@/setting'
|
||||
import { useNotificationMessage } from '@/store/modules/notification-message'
|
||||
|
||||
|
||||
// 导入联系作者组件
|
||||
import ContactAuthor from '@/views/index/components/ContactAuthor.vue'
|
||||
import { md5 } from 'js-md5'
|
||||
|
||||
const userStore = useUserStore()
|
||||
const options = [
|
||||
@@ -108,7 +109,7 @@
|
||||
}
|
||||
if (!socket.value) {
|
||||
socket.value = new WebSocket(
|
||||
`${webSocketURL}username=${userStore.userName}&password=${userStore.password}`
|
||||
`${webSocketURL}username=${userStore.userName}&password=${md5(userStore.password)}`
|
||||
)
|
||||
}
|
||||
socket.value.binaryType = 'arraybuffer'
|
||||
@@ -184,7 +185,7 @@
|
||||
connectWebSocket()
|
||||
}
|
||||
})
|
||||
const visible = ref(false)
|
||||
const visible = ref(import.meta.env.VITE_IS_INDEX_WINDOW == 'true')
|
||||
|
||||
onMounted(() => {})
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user