refactor: 移除未使用的状态和调试日志
This commit is contained in:
parent
f557d658e7
commit
4bbedf0eb5
2
App.vue
2
App.vue
|
|
@ -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();
|
||||||
|
|
|
||||||
|
|
@ -94,8 +94,6 @@ const store = new Vuex.Store({
|
||||||
// text: "我的"
|
// text: "我的"
|
||||||
// }
|
// }
|
||||||
],
|
],
|
||||||
vuex_education: [],
|
|
||||||
vuex_schoolName: "",
|
|
||||||
},
|
},
|
||||||
mutations: {
|
mutations: {
|
||||||
$uStore(state, payload) {
|
$uStore(state, payload) {
|
||||||
|
|
|
||||||
|
|
@ -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] } :
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue