var Vue = require("vue"); var arr = [{ name: "Foo", isShowing: true },{ name: "Goo", isShowing: true },{ name: "Bar", isShowing: true }]; new Vue({ data: { items: arr }, template: "<svg>" +"<template v-repeat='item:items | filterBy true in isShowing' track-by='name'>" +"<component is='test'></component>" +"</template>" +"</svg>", components: { test: { template: "<g><text>123</text></g>" } } }).$mount("body") setTimeout(function(){ arr[1].isShowing = false; setTimeout(function(){ //error will happen here arr[1].isShowing = true; },1000); },1000);
This code will run into an error in this version of code
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4