Nativescript 在v-template中使用if时Listview引发错误

Nativescript 在v-template中使用if时Listview引发错误,nativescript,nativescript-vue,Nativescript,Nativescript Vue,如果我尝试在我的v模板中创建条件,如If=“transaction.id==604”我会得到以下错误: >System.err: Calling js method getView failed System.err: System.err: TypeError: Cannot read property 'scopedFn' of undefined 如果我将其设置为If=“transaction.id”,则工作正常。transaction.id存在,其值为604 <

如果我尝试在我的v模板中创建条件,如
If=“transaction.id==604”
我会得到以下错误:

>System.err: Calling js method getView failed
System.err: 
System.err: TypeError: Cannot read property 'scopedFn' of undefined
如果我将其设置为
If=“transaction.id”
,则工作正常。transaction.id存在,其值为604


    <ListView for="transaction in transactions"  itemTap="onItemTap" height="80%" >
      <v-template if="transaction.id">
         <StackLayout>
            <Label :text="transaction.id" className="placeName" />
            <Label :text="transaction.amounttxt" className="placeName" />
            <Label :text="transaction.insight_text" className="placeName" />
          </StackLayout>
       </v-template>
    </ListView>


只有一个模板具有
if
条件。如果条件失败,则没有回退模板。应至少有一个模板不带
if
,以便在其他模板上的所有
if
条件失败时可以使用该模板。或者至少有一个
,如果
应该通过

如果要忽略呈现的任何列表项,则应过滤数组(
事务
)本身