This commit is contained in:
2026-09-24 16:25:22 +08:00
commit 7428184f01
1198 changed files with 314515 additions and 0 deletions
@@ -0,0 +1,5 @@
{
"dependencies": {
"x_library_s": "./lib/x_library_s.har"
}
}
@@ -0,0 +1,10 @@
import { x_openweb } from "x_library_s";
import { BusinessError } from "@kit.BasicServicesKit";
export function openWeb(url : string) {
const context = UTSHarmony.getCurrentWindow()!.getUIContext();
x_openweb(context,url)
.catch((error:boolean)=>{
console.error("TMUI","打开失败")
})
}