fix
This commit is contained in:
parent
405f59418d
commit
d10f2b6c1d
@ -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);
|
||||||
|
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user