Browse Source

修改参数信息

master
VIVIMAN 3 years ago
parent
commit
fc4317f28b
  1. 4
      golang_learn/data_func/go_to_wails/demo02/demo02.rc
  2. 4
      golang_learn/data_func/go_to_wails/demo03/demo03.rc
  3. 4
      golang_learn/data_func/go_to_wails/demo04/demo04.rc
  4. 2
      golang_learn/data_func/go_to_wails/demo04/frontend/src/components/HelloWorld.vue
  5. 4
      golang_learn/data_func/go_to_wails/demo04/main.go
  6. 4
      golang_learn/data_func/go_to_wails/demo05/demo05.rc

4
golang_learn/data_func/go_to_wails/demo02/demo02.rc

@ -1,2 +1,2 @@
100 ICON "cpustats.ico" 100 ICON "demo02.ico"
110 24 "cpustats.exe.manifest" 110 24 "demo02.exe.manifest"

4
golang_learn/data_func/go_to_wails/demo03/demo03.rc

@ -1,2 +1,2 @@
100 ICON "cpustats.ico" 100 ICON "demo03.ico"
110 24 "cpustats.exe.manifest" 110 24 "demo03.exe.manifest"

4
golang_learn/data_func/go_to_wails/demo04/demo04.rc

@ -1,2 +1,2 @@
100 ICON "cpustats.ico" 100 ICON "demo04.ico"
110 24 "cpustats.exe.manifest" 110 24 "demo04.exe.manifest"

2
golang_learn/data_func/go_to_wails/demo04/frontend/src/components/HelloWorld.vue

@ -15,7 +15,7 @@ export default {
methods: { methods: {
getMessage: function() { getMessage: function() {
var self = this; var self = this;
window.backend.basic().then(result => { window.backend.viviman().then(result => {
self.message = result; self.message = result;
}); });
} }

4
golang_learn/data_func/go_to_wails/demo04/main.go

@ -5,7 +5,7 @@ import (
"github.com/wailsapp/wails" "github.com/wailsapp/wails"
) )
func basic() string { func viviman() string {
return "Hello World!" return "Hello World!"
} }
@ -25,6 +25,6 @@ func main() {
CSS: css, CSS: css,
Colour: "#131313", Colour: "#131313",
}) })
app.Bind(basic) app.Bind(viviman)
app.Run() app.Run()
} }

4
golang_learn/data_func/go_to_wails/demo05/demo05.rc

@ -1,2 +1,2 @@
100 ICON "cpustats.ico" 100 ICON "demo05.ico"
110 24 "cpustats.exe.manifest" 110 24 "demo05.exe.manifest"
Loading…
Cancel
Save