新升级HarmonyOS 鸿蒙Next系统后,h5之前可用的组件使用卡死

新升级HarmonyOS 鸿蒙Next系统后,h5之前可用的组件使用卡死 使用了vue的Transition组件场景在鸿蒙系统页面会出现卡死或者异常,在系统浏览器不会出现,之前的系统版本也不会出现。

1 回复

更多关于新升级HarmonyOS 鸿蒙Next系统后,h5之前可用的组件使用卡死的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html


是加载这个https://test1-puhui-web.ph.com.cn/manager/stg/platform/fintech/fintechLAPP/stg/dev-20240808/videoInterview.html?ssEnv=DEVMOCK#/ 点击去面谈没有显示弹框吗

这边是显示弹框的

import web_webview from '@ohos.web.webview'
import business_error from '@ohos.base'

@Entry
@Component
struct WebComponent {
  controller: web_webview.WebviewController = new web_webview.WebviewController();

  build() {
    Column() {
      Button('loadUrl')
        .onClick(() => {
          try {
            this.controller.loadUrl('https://test1-puhui-web.ph.com.cn/manager/stg/platform/fintech/fintechLAPP/stg/dev-20240808/videoInterview.html?ssEnv=DEVMOCK#/');

          } catch (error) {
            let e: business_error.BusinessError = error as business_error.BusinessError;
            console.error(`ErrorCode: ${e.code}, Message: ${e.message}`);
          }
        })
      Web({ src: 'https://test1-puhui-web.ph.com.cn/manager/stg/platform/fintech/fintechLAPP/stg/dev-20240808/videoInterview.html?ssEnv=DEVMOCK#/', controller: this.controller})
        .fileAccess(true)
        .javaScriptAccess(true)
        .domStorageAccess(true)
        .onlineImageAccess(true)
    }
  }
}
回到顶部