tangning 4 miesięcy temu
rodzic
commit
6dd3e2d89e
2 zmienionych plików z 1 dodań i 2 usunięć
  1. 0 1
      src/app/cjzfire/constant.ts
  2. 1 1
      src/store/system.ts

+ 0 - 1
src/app/cjzfire/constant.ts

@@ -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);

+ 1 - 1
src/store/system.ts

@@ -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 : ""))
 );