diff --git a/App.vue b/App.vue index c908181..abef9c0 100644 --- a/App.vue +++ b/App.vue @@ -84,8 +84,6 @@ export default { }, // 初始化原生 WebSocket 连接 initWebSocket() { - console.log(this.buildWsUrl()); - try { this.ws = new WebSocket(this.buildWsUrl()); this.ws.onopen = () => this.handleWsOpen(); diff --git a/store/index.js b/store/index.js index fd726f0..a326ea5 100644 --- a/store/index.js +++ b/store/index.js @@ -94,8 +94,6 @@ const store = new Vuex.Store({ // text: "我的" // } ], - vuex_education: [], - vuex_schoolName: "", }, mutations: { $uStore(state, payload) { diff --git a/types/global.d.ts b/types/global.d.ts index 42e5ec3..7094297 100644 --- a/types/global.d.ts +++ b/types/global.d.ts @@ -13,7 +13,7 @@ declare global { type __VLS_IsAny = 0 extends 1 & T ? true : false; type __VLS_PickNotAny = __VLS_IsAny extends true ? B : A; type __VLS_SpreadMerge = Omit & B; - type __VLS_WithComponent = + type __VLS_WithComponent = N1 extends keyof LocalComponents ? { [K in N0]: LocalComponents[N1] } : N2 extends keyof LocalComponents ? { [K in N0]: LocalComponents[N2] } : N3 extends keyof LocalComponents ? { [K in N0]: LocalComponents[N3] } :