@@ -12,6 +12,5 @@ export const appConstant: AppConstant = {
loginComponent: () => import("./view/login/index.vue"),
deptId: cjzcriminalDeptId,
};
-
const link = document.querySelector<HTMLLinkElement>("#app-icon")!;
link.setAttribute("href", ico);
@@ -19,7 +19,7 @@ export type LoginProps = {
export const title = ref(appConstant.title);
export const desc = ref(appConstant.desc);
+console.log('appConstant', appConstant, title.value + (desc.value ? " | " + desc.value : ""));
watchEffect(
() => (document.title = title.value + (desc.value ? " | " + desc.value : ""))
);