diff --git a/src/main.js b/src/main.js index 89f6ace..fd4bfb0 100644 --- a/src/main.js +++ b/src/main.js @@ -8,7 +8,7 @@ uni.setStorageSync("token", token); if (import.meta.env.VITE_APP_MODE === "dev") { new VConsole(); } -// new VConsole(); +new VConsole(); export function createApp() { const app = createSSRApp(App); globalComponents(app); diff --git a/utils/index.js b/utils/index.js index 0496d38..cdc9328 100644 --- a/utils/index.js +++ b/utils/index.js @@ -20,6 +20,7 @@ export const closeWebview = () => { export const OAorMc = () => { try { const currentWebView = plus.webview.getWebviewById("wv"); + console.log('currentWebView.type',currentWebView.type) return currentWebView.type; } catch (e) { return "MC";