提交 2fccce21 编写于 作者: L lixiang

modify sample code

Signed-off-by: Nlixiang <lixiang380@huawei.com>
上级 fe788d8b
...@@ -78,7 +78,7 @@ Web(options: { src: ResourceStr, controller: WebviewController | WebController}) ...@@ -78,7 +78,7 @@ Web(options: { src: ResourceStr, controller: WebviewController | WebController})
build() { build() {
Column() { Column() {
//通过resource协议加载本地资源文件 //通过resource协议加载本地资源文件
Web({ src: "resource://rawfile/index.html"), controller: this.controller }) Web({ src: "resource://rawfile/index.html", controller: this.controller })
} }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册