优化wss连接
This commit is contained in:
@@ -132,7 +132,7 @@ const refundDialogRef = ref(null)
|
||||
const tableData = reactive({
|
||||
resetLoading: false,
|
||||
proName: '',
|
||||
type: 2,
|
||||
type: 1,
|
||||
status: '',
|
||||
loading: false,
|
||||
list: [],
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user