8000 fix: wrong conditional for v-for warning on listview · AlexLingXiang/nativescript-vue@af5ed03 · GitHub
[go: up one dir, main page]

Skip to content

Commit af5ed03

Browse files
committed
fix: wrong conditional for v-for warning on listview
1 parent ad68b50 commit af5ed03

File tree

1 file changed

+1
-1
lines changed
  • platform/nativescript/compiler/modules

1 file changed

+1
-1
lines changed

platform/nativescript/compiler/modules/for.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { warn } from 'core/util/debug'
66
function preTransformNode(el) {
77
let vfor
88

9-
if (normalizeElementName(el.tag) === 'listview') {
9+
if (normalizeElementName(el.tag) === 'nativelistview') {
1010
vfor = getAndRemoveAttr(el, 'v-for')
1111
delete el.attrsMap['v-for']
1212
if (process.env.NODE_ENV !== 'production' && vfor) {

0 commit comments

Comments
 (0)
0