<tn-waterfall ref="waterfall" v-model="tabItem.newsList">
<template v-slot:left="{ leftList }">
<view v-for="(item, index) in leftList" :key="index" class="waterfallitem"
.....
<template v-slot:right="{ rightList }">
<view v-for="(item, index) in rightList" :key="index" class="waterfallitem"
@click="navToDetails(item)">
...
报错提示:
[Vue warn]: Property or method "rightList" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.