mirror of
https://shylinux.com/x/icebergs
synced 2025-05-03 03:57:01 +08:00
opt some
This commit is contained in:
parent
3b5b2b717b
commit
ffccc0c321
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user