This commit is contained in:
jyx 2024-10-24 13:35:48 +08:00
parent 405f59418d
commit d10f2b6c1d
2 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,7 @@ uni.setStorageSync("token", token);
if (import.meta.env.VITE_APP_MODE === "dev") { if (import.meta.env.VITE_APP_MODE === "dev") {
new VConsole(); new VConsole();
} }
// new VConsole(); new VConsole();
export function createApp() { export function createApp() {
const app = createSSRApp(App); const app = createSSRApp(App);
globalComponents(app); globalComponents(app);

View File

@ -20,6 +20,7 @@ export const closeWebview = () => {
export const OAorMc = () => { export const OAorMc = () => {
try { try {
const currentWebView = plus.webview.getWebviewById("wv"); const currentWebView = plus.webview.getWebviewById("wv");
console.log('currentWebView.type',currentWebView.type)
return currentWebView.type; return currentWebView.type;
} catch (e) { } catch (e) {
return "MC"; return "MC";