feat: 集成二维码扫描功能,优化视频流处理,添加 vconsole 和 SSL 插件
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { IonicVue } from "@ionic/vue";
|
||||
import { createPinia } from "pinia";
|
||||
import VConsole from "vconsole";
|
||||
import { useRegisterSW } from "virtual:pwa-register/vue";
|
||||
import { createApp } from "vue";
|
||||
import uiComponents from "@/ui";
|
||||
@@ -66,6 +67,12 @@ watch(needRefresh, (refresh) => {
|
||||
}
|
||||
});
|
||||
|
||||
if (import.meta.env.DEV) {
|
||||
const vConsole = new VConsole();
|
||||
globalThis.vConsole = vConsole;
|
||||
console.log("VConsole is enabled in development mode.");
|
||||
}
|
||||
|
||||
function initTradingView() {
|
||||
const { VITE_TRADINGVIEW_LIBRARY_URL } = useEnv();
|
||||
const promise1 = new Promise((resolve) => {
|
||||
|
||||
Reference in New Issue
Block a user