From ffccc0c321449c1a37424046f6e9af2c804dad11 Mon Sep 17 00:00:00 2001 From: harveyshao Date: Sat, 6 Aug 2022 00:08:48 +0800 Subject: [PATCH] opt some --- misc/webview/webview.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/webview/webview.go b/misc/webview/webview.go index 318a2cbe..0484ba53 100644 --- a/misc/webview/webview.go +++ b/misc/webview/webview.go @@ -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")