diff --git a/packages/client/app/home/home.vue b/packages/client/app/home/home.vue
index e0b43612..397ddbc0 100644
--- a/packages/client/app/home/home.vue
+++ b/packages/client/app/home/home.vue
@@ -8,7 +8,7 @@
- {{ global.messages?.connecting || '正在连接到 Koishi 服务器……' }}
+ 正在连接到 Koishi 服务器……
diff --git a/packages/client/client/index.ts b/packages/client/client/index.ts
index 9816652a..fef34c31 100644
--- a/packages/client/client/index.ts
+++ b/packages/client/client/index.ts
@@ -1,9 +1,8 @@
-import install, { Dict } from './components'
+import install from './components'
import { Context } from './context'
declare module '@koishijs/plugin-console' {
export interface ClientConfig {
- messages?: Dict
unsupported?: string[]
}
}
diff --git a/packages/online/app/components/home.vue b/packages/online/app/components/home.vue
index 6ac06eaf..26cf65f0 100644
--- a/packages/online/app/components/home.vue
+++ b/packages/online/app/components/home.vue
@@ -48,7 +48,7 @@
- {{ global.messages?.connecting || '正在连接到 Koishi 服务器……' }}
+ 正在初始化 Koishi Online 运行环境……
diff --git a/packages/online/app/index.ts b/packages/online/app/index.ts
index 3e77d50d..fb3b3a08 100644
--- a/packages/online/app/index.ts
+++ b/packages/online/app/index.ts
@@ -31,9 +31,6 @@ root.page({
component: Instances,
})
-global.messages = {}
-global.messages.connecting = '正在初始化 Koishi Online 运行环境……'
-
if (!('chrome' in window)) {
global.unsupported = [
'您的浏览器不支持 Koishi Online。',