瀏覽代碼

新增检验文件2

JXDS18FUJT 2 年之前
父節點
當前提交
6f320553ae
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 0 0
      public/NSMCLVlQxu.txt
  2. 4 4
      src/views/downloadCaigong2/index.tsx

+ 0 - 0
NSMCLVlQxu.txt → public/NSMCLVlQxu.txt


+ 4 - 4
src/views/downloadCaigong2/index.tsx

@@ -23,13 +23,13 @@ export const DownloadCaigong2: React.FC = (props: any) => {
     }
     useEffect(()=>{
         if (is_weixin()) {
-            document.querySelectorAll('#app a')[0].style.display = 'none'
-            document.querySelectorAll('#app a')[1].style.display = 'none'
+            document.querySelectorAll<HTMLElement>('#app a')[0].style.display = 'none'
+            document.querySelectorAll<HTMLElement>('#app a')[1].style.display = 'none'
 
         }
         else {
-            document.querySelectorAll('#app a')[2].style.display = 'none'
-            document.querySelectorAll('#app a')[3].style.display = 'none'
+            document.querySelectorAll<HTMLElement>('#app a')[2].style.display = 'none'
+            document.querySelectorAll<HTMLElement>('#app a')[3].style.display = 'none'
 
         }