chore: 构建稳定版本

This commit is contained in:
陈淳
2023-12-11 09:55:12 +08:00
parent 098d4bc85f
commit 769a6a9c63
756 changed files with 10431 additions and 19867 deletions

View File

@@ -7,11 +7,12 @@ 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());
onMounted(() => {
onMounted(async () => {
await signalR.init(`main`);
nextTick(() => {
// 初始化主题样式
handleThemeStyle(useSettingsStore().theme)
@@ -21,8 +22,7 @@ onMounted(() => {
//这里还需要监视token的变化重新进行signalr连接
watch(()=>token.value,async (newValue,oldValue)=>{
// await signalR.close();
// await signalR.start();
await signalR.init(`main`);
})
</script>