Skip to content

Commit dc9c3ee

Browse files
committed
fix: tabbar loadMore
1 parent 5b33691 commit dc9c3ee

3 files changed

Lines changed: 2 additions & 9 deletions

File tree

‎components/mpvue-echarts/src/echarts.vue‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@ import WxCanvas from './wx-canvas';
1616
1717
export default {
1818
props: {
19-
echarts: {
20-
required: true,
21-
type: Object,
22-
default() {
23-
return null;
24-
},
25-
},
2619
onInit: {
2720
required: true,
2821
type: Function,

‎pages/template/tabbar/tabbar.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
return;
154154
}
155155
for (let i = 1; i <= 10; i++) {
156-
this.newsitems[e].data.push(this['data' + Math.floor(Math.random() * 5)]);
156+
this.newsitems[e].data.push(tpl['data' + Math.floor(Math.random() * 5)]);
157157
}
158158
this.newsitems[e].loadingType = 1;
159159
},

‎platforms/app-plus/tabbar/tabbar.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
return;
154154
}
155155
for (let i = 1; i <= 10; i++) {
156-
this.newsitems[e].data.push(this['data' + Math.floor(Math.random() * 5)]);
156+
this.newsitems[e].data.push(tpl['data' + Math.floor(Math.random() * 5)]);
157157
}
158158
this.newsitems[e].loadingType = 1;
159159
},

0 commit comments

Comments
 (0)