优化wss连接

This commit is contained in:
gyq
2024-07-04 10:04:01 +08:00
parent 78672a0cf9
commit c7758f66d7
7 changed files with 162 additions and 44 deletions

View File

@@ -132,7 +132,7 @@ const refundDialogRef = ref(null)
const tableData = reactive({
resetLoading: false,
proName: '',
type: 2,
type: 1,
status: '',
loading: false,
list: [],

View File

@@ -109,12 +109,12 @@ const submitHandle = () => {
if (valid) {
loading.value = true;
store.userlogin(form).then(async (res) => {
const douyin = await douyincheckIn({
token: res.token,
loginName: res.loginName,
clientType: 'pc'
})
useStorage.set('douyin', douyin.userInfo)
// const douyin = await douyincheckIn({
// token: res.token,
// loginName: res.loginName,
// clientType: 'pc'
// })
// useStorage.set('douyin', douyin.userInfo)
ElMessage.success("登录成功");
setTimeout(() => {
router.replace({