We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 482fdc0 commit 66abd23Copy full SHA for 66abd23
src/compiler.js
@@ -631,7 +631,9 @@ CompilerProto.defineProp = function (key, binding) {
631
CompilerProto.defineMeta = function (key, binding) {
632
var vm = this.vm,
633
ob = this.observer,
634
- value = binding.value = vm[key] || this.data[key]
+ value = binding.value = key in vm
635
+ ? vm[key]
636
+ : this.data[key]
637
// remove initital meta in data, since the same piece
638
// of data can be observed by different VMs, each have
639
// its own associated meta info.
0 commit comments