Skip to content

Commit 92319e6

Browse files
committed
use data instead of nodeValue for v-text
1 parent 4a8581f commit 92319e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/directives/text.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = {
44

55
bind: function () {
66
this.attr = this.el.nodeType === 3
7-
? 'nodeValue'
7+
? 'data'
88
: 'textContent'
99
},
1010

0 commit comments

Comments
 (0)