lex 1 年之前
父節點
當前提交
93c340d51e
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      src/components/TheAuth/index.tsx
  2. 1 1
      src/components/layout/index.tsx

+ 1 - 0
src/components/TheAuth/index.tsx

@@ -31,6 +31,7 @@ export default defineComponent({
       } else {
         window.open('https://oss.dayaedu.com/https-ssl/Win-安全证书.pfx');
       }
+      emit('close');
     };
     return () => (
       <div class={styles.theAuth}>

+ 1 - 1
src/components/layout/index.tsx

@@ -399,7 +399,7 @@ export default defineComponent({
       });
 
       // 判断是否显示证书提示
-      eventGlobal.on('auth-not-installed', (status: boolean) => {
+      eventGlobal.on('auth-not-installed', () => {
         showAuthMask.value = true;
       });
     });