refactor: 移除未使用的状态和调试日志

This commit is contained in:
yangzhe 2025-12-12 11:36:22 +08:00
parent f557d658e7
commit 4bbedf0eb5
3 changed files with 1 additions and 5 deletions

View File

@ -84,8 +84,6 @@ export default {
}, },
// WebSocket // WebSocket
initWebSocket() { initWebSocket() {
console.log(this.buildWsUrl());
try { try {
this.ws = new WebSocket(this.buildWsUrl()); this.ws = new WebSocket(this.buildWsUrl());
this.ws.onopen = () => this.handleWsOpen(); this.ws.onopen = () => this.handleWsOpen();

View File

@ -94,8 +94,6 @@ const store = new Vuex.Store({
// text: "我的" // text: "我的"
// } // }
], ],
vuex_education: [],
vuex_schoolName: "",
}, },
mutations: { mutations: {
$uStore(state, payload) { $uStore(state, payload) {

2
types/global.d.ts vendored
View File

@ -13,7 +13,7 @@ declare global {
type __VLS_IsAny<T> = 0 extends 1 & T ? true : false; type __VLS_IsAny<T> = 0 extends 1 & T ? true : false;
type __VLS_PickNotAny<A, B> = __VLS_IsAny<A> extends true ? B : A; type __VLS_PickNotAny<A, B> = __VLS_IsAny<A> extends true ? B : A;
type __VLS_SpreadMerge<A, B> = Omit<A, keyof B> & B; type __VLS_SpreadMerge<A, B> = Omit<A, keyof B> & B;
type __VLS_WithComponent<N0 extends string, LocalComponents, Self, N1 extends string, N2 extends string, N3 extends string> = type __VLS_WithComponent<N0 extends string, LocalComponents, Self, N1 extends string, N2 extends string = N1, N3 extends string = N1> =
N1 extends keyof LocalComponents ? { [K in N0]: LocalComponents[N1] } : N1 extends keyof LocalComponents ? { [K in N0]: LocalComponents[N1] } :
N2 extends keyof LocalComponents ? { [K in N0]: LocalComponents[N2] } : N2 extends keyof LocalComponents ? { [K in N0]: LocalComponents[N2] } :
N3 extends keyof LocalComponents ? { [K in N0]: LocalComponents[N3] } : N3 extends keyof LocalComponents ? { [K in N0]: LocalComponents[N3] } :