1
0
mirror of https://shylinux.com/x/icebergs synced 2025-05-03 03:57:01 +08:00
This commit is contained in:
harveyshao 2022-08-06 00:08:48 +08:00
parent 3b5b2b717b
commit ffccc0c321

View File

@ -67,7 +67,7 @@ func Run(cb func(*WebView) ice.Any) {
defer w.Run()
view := &WebView{Source: "src/webview.txt", WebView: w}
kit.Reflect(cb(view), func(name string, value ice.Any) { w.WebView.Bind(name, value) })
kit.Reflect(cb(view), func(name string, value ice.Any) { w.Bind(name, value) })
if !view.Menu() {
view.navigate("http://localhost:9020")