feat: 集成二维码扫描功能,优化视频流处理,添加 vconsole 和 SSL 插件

This commit is contained in:
2026-01-08 15:23:25 +07:00
parent 08939bec64
commit 04a5beed89
9 changed files with 108 additions and 371 deletions

View File

@@ -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) => {