mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:08:53 +08:00
chore:
This commit is contained in:
@@ -10,13 +10,17 @@ import "./styles/antd/index.css";
|
||||
|
||||
import { useTitle } from "@vueuse/core";
|
||||
import { setupI18n } from "/@/vben/locales";
|
||||
import { useSettingStore } from "/@/store/modules/settings";
|
||||
|
||||
export async function setupVben(app: any, { loadMessages, router }: any) {
|
||||
await setupI18n(app, { loadMessages });
|
||||
const store = await initStores(app, { namespace: "fs" });
|
||||
const settingStore = useSettingStore();
|
||||
|
||||
watchEffect(() => {
|
||||
if (preferences.app.dynamicTitle) {
|
||||
const routeTitle = router.currentRoute.value.meta?.title;
|
||||
const appName = settingStore.inited ? preferences.app.name : "";
|
||||
const pageTitle = (routeTitle ? `${routeTitle} - ` : "") + preferences.app.name;
|
||||
useTitle(pageTitle);
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
站点证书监控
|
||||
<div class="sub flex-1">
|
||||
<div>每天0点,检查网站证书的过期时间,并发出提醒;</div>
|
||||
<div class="flex items-center">基础版限制1条,专业版无限制,当前<vip-button class="ml-5" mode="nav"></vip-button>,点击升级</div>
|
||||
<div class="flex items-center">基础版限制1条,专业版以上无限制,当前<vip-button class="ml-5" mode="nav"></vip-button></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="more">
|
||||
|
||||
Reference in New Issue
Block a user