File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -70,10 +70,10 @@ const changeName = () => {
70
70
</script >
71
71
72
72
<template >
73
- <Observer >
74
- <div >Name: {{ data.name }}</div >
75
- <button @click =" changeName" >Change name</button >
76
- </Observer >
73
+ <Observer >
74
+ <div >Name: {{ data.name }}</div >
75
+ <button @click =" changeName" >Change name</button >
76
+ </Observer >
77
77
</template >
78
78
```
79
79
@@ -107,9 +107,9 @@ const state = useGlobalObservable()
107
107
</script >
108
108
109
109
<template >
110
- <div >Count: {{ state.count }}</div >
111
- <div >Doubled: {{ state.double }}</div >
112
- <button @click =" state.increment" >Increment</button >
110
+ <div >Count: {{ state.count }}</div >
111
+ <div >Doubled: {{ state.double }}</div >
112
+ <button @click =" state.increment" >Increment</button >
113
113
</template >
114
114
```
115
115
You can’t perform that action at this time.
0 commit comments