|
@@ -117,13 +117,13 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- this.loadData('add');
|
|
|
+ this.getData('add');
|
|
|
//this.rightList = this.$store.state.diary.rightList;
|
|
|
},
|
|
|
onReachBottom() {
|
|
|
this.startNum++;
|
|
|
//上滑加载
|
|
|
- this.loadData('add');
|
|
|
+ this.getData('add');
|
|
|
},
|
|
|
methods:{
|
|
|
toDetails : function(id){
|
|
@@ -136,13 +136,13 @@ export default {
|
|
|
url: '../mine/other/other?id=' + id
|
|
|
})
|
|
|
},
|
|
|
- loadData : function(type) {
|
|
|
+ getData : function(type) {
|
|
|
|
|
|
},
|
|
|
//下拉刷新
|
|
|
onPulldownReresh : function() {
|
|
|
console.info(222)
|
|
|
- this.loadData('refresh');
|
|
|
+ this.getData('refresh');
|
|
|
},
|
|
|
handleTab : function(index) {
|
|
|
this.activeTab = index;
|