diff --git a/packages/ui/certd-client/src/App.vue b/packages/ui/certd-client/src/App.vue index 8887c8bd..7faa70cc 100644 --- a/packages/ui/certd-client/src/App.vue +++ b/packages/ui/certd-client/src/App.vue @@ -3,7 +3,6 @@ - @@ -49,7 +48,7 @@ localeChanged("zh-cn"); provide("fn:router.reload", reload); provide("fn:locale.changed", localeChanged); -const settingsStore = useSettingStore(); + const { isDark } = usePreferences(); const { tokens } = useAntdDesignTokens(); @@ -74,13 +73,5 @@ const tokenTheme = computed(() => { // const settingStore = useSettingStore(); // settingStore.init(); -const chatBox = ref(); -// onMounted(async () => { -// await util.sleep(2000); -// await chatBox.value.openChat({ q: "hello" }); -// }); -const openChat = (q: string) => { - chatBox.value.openChat({ q }); -}; -provide("fn:ai.open", openChat); + diff --git a/packages/ui/certd-client/src/layout/layout-basic.vue b/packages/ui/certd-client/src/layout/layout-basic.vue index 2af00c36..d223fa02 100644 --- a/packages/ui/certd-client/src/layout/layout-basic.vue +++ b/packages/ui/certd-client/src/layout/layout-basic.vue @@ -1,17 +1,16 @@ diff --git a/packages/ui/certd-client/src/views/framework/login/index.vue b/packages/ui/certd-client/src/views/framework/login/index.vue index c31b9a67..6ccc92fa 100644 --- a/packages/ui/certd-client/src/views/framework/login/index.vue +++ b/packages/ui/certd-client/src/views/framework/login/index.vue @@ -43,6 +43,8 @@ 登录 + +
忘记管理员密码?