Explorar el Código

fix(cert): 优化证书更新逻辑

- 移除 CossCertManager 中的冗余证书更新调用
- 在 MiniAppManager 中添加证书更新调用,确保在切换客户端时更新证书
徐勤民 hace 3 semanas
padre
commit
7fa3204be1
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/main/ets/pages/XWebview.ets

+ 2 - 0
src/main/ets/pages/XWebview.ets

@@ -12,6 +12,7 @@ import { SZYXLocalStorageHelper } from '../utils/SZYXLocalStorageHelper';
 import { SZYXLocalStorageKeys } from '../utils/SZYXLocalStorageKeys';
 import { XWebManager } from '../utils/XWebManager';
 import { TitleBarBtn } from '../view/SafeView';
+import { HttpHelper } from '../http/HttpHelper';
 
 @Entry({ routeName: 'XWebview' })
 @Component
@@ -222,6 +223,7 @@ export struct XWebview {
             console.log('contentDisposition:' + event.contentDisposition)
             console.log('contentLength:' + event.contentLength)
             console.log('mimetype:' + event.mimetype)
+
           }
         })
         .onPageEnd((url) => {