mirror of https://github.com/certd/certd
chore:
parent
832b74b66b
commit
31718d1a4a
|
@ -10,13 +10,17 @@ import "./styles/antd/index.css";
|
||||||
|
|
||||||
import { useTitle } from "@vueuse/core";
|
import { useTitle } from "@vueuse/core";
|
||||||
import { setupI18n } from "/@/vben/locales";
|
import { setupI18n } from "/@/vben/locales";
|
||||||
|
import { useSettingStore } from "/@/store/modules/settings";
|
||||||
|
|
||||||
export async function setupVben(app: any, { loadMessages, router }: any) {
|
export async function setupVben(app: any, { loadMessages, router }: any) {
|
||||||
await setupI18n(app, { loadMessages });
|
await setupI18n(app, { loadMessages });
|
||||||
const store = await initStores(app, { namespace: "fs" });
|
const store = await initStores(app, { namespace: "fs" });
|
||||||
|
const settingStore = useSettingStore();
|
||||||
|
|
||||||
watchEffect(() => {
|
watchEffect(() => {
|
||||||
if (preferences.app.dynamicTitle) {
|
if (preferences.app.dynamicTitle) {
|
||||||
const routeTitle = router.currentRoute.value.meta?.title;
|
const routeTitle = router.currentRoute.value.meta?.title;
|
||||||
|
const appName = settingStore.inited ? preferences.app.name : "";
|
||||||
const pageTitle = (routeTitle ? `${routeTitle} - ` : "") + preferences.app.name;
|
const pageTitle = (routeTitle ? `${routeTitle} - ` : "") + preferences.app.name;
|
||||||
useTitle(pageTitle);
|
useTitle(pageTitle);
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
站点证书监控
|
站点证书监控
|
||||||
<div class="sub flex-1">
|
<div class="sub flex-1">
|
||||||
<div>每天0点,检查网站证书的过期时间,并发出提醒;</div>
|
<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>
|
</div>
|
||||||
<div class="more">
|
<div class="more">
|
||||||
|
|
Loading…
Reference in New Issue