From 6ef87242421f3e3c9e5cb02cb49374df6ccee6b0 Mon Sep 17 00:00:00 2001 From: Whale Choi Date: Fri, 4 Oct 2024 17:34:32 +0800 Subject: [PATCH] legacy apatch support --- src/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.js b/src/main.js index 806f737..80d34b5 100644 --- a/src/main.js +++ b/src/main.js @@ -3,4 +3,7 @@ import App from './App.vue' import VueRouter from './router' import i18n from './locales/i18n' +if (window.apatch !== undefined && window.apatch.ksu === undefined) { + window.ksu = window.apatch +} createApp(App).use(i18n).use(VueRouter).mount('#app')