feat: webfrist基本流程已完成

This commit is contained in:
陈淳
2023-09-27 18:01:10 +08:00
parent 8bc2db1e6e
commit f095fde5a7
31 changed files with 993 additions and 1098 deletions

View File

@@ -7,7 +7,7 @@ import useSettingsStore from '@/store/modules/settings'
import { handleThemeStyle } from '@/utils/theme'
import useUserStore from '@/store/modules/user'
import { storeToRefs } from 'pinia';
import signalR from '@/utils/signalR'
// import signalR from '@/utils/signalR'
const {token}=storeToRefs(useUserStore());
@@ -21,9 +21,8 @@ onMounted(() => {
//这里还需要监视token的变化重新进行signalr连接
watch(()=>token.value,async (newValue,oldValue)=>{
console.log("重新连接");
// await signalR.close();
await signalR.start();
// await signalR.start();
})
</script>