Explorar o código

fix: an error expression in demo template

DMQ %!s(int64=7) %!d(string=hai) anos
pai
achega
93bb1af429
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mvvm.html

+ 1 - 1
mvvm.html

@@ -14,7 +14,7 @@
         <span v-text="child.someStr"></span>
     </p> -->
     <p>{{getHelloWord}}</p>
-    <p v-html="child.htmlStr"></p>
+    <p v-html="htmlStr"></p>
     <button v-on:click="clickBtn">change model</button>
 </div>