Skip to content

Commit 49a7800

Browse files
committed
fix sample
1 parent 6e59fd6 commit 49a7800

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sample/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h1>DCE Demo</h1>
4848
<h1>Hello World</h1>
4949
<div>[[this.ctx]]</div>
5050
<template repeat:myitem="[[this.list]]">
51-
<button @click="{{this.ctx = myitem}}"
51+
<button @click="[[this.ctx = myitem]]"
5252
$aaaonclick="[['this.getRootNode().host.ctx = \'' + myitem + '\'']]">[[myitem]] - [[index]]</button>
5353
</template>
5454
</template>

0 commit comments

Comments
 (0)