Browse Source

首页去除下拉刷新

htc 1 week ago
parent
commit
3a8a453b87
2 changed files with 1 additions and 6 deletions
  1. 1 2
      pages.json
  2. 0 4
      pages/home.vue

+ 1 - 2
pages.json

@@ -9,8 +9,7 @@
 		{
 			"path": "pages/home",
 			"style": {
-				"navigationStyle": "custom",
-				"enablePullDownRefresh": true
+				"navigationStyle": "custom"
 			}
 		},
 		{

+ 0 - 4
pages/home.vue

@@ -42,10 +42,6 @@
 			await this.getAgentModelList()
 			this.getDeviceList();
 		},
-		async onPullDownRefresh() {
-			await this.getAgentModelList()
-			this.getDeviceList();
-		},
 		methods:{
 			getAgentModelList(){
 				return new Promise((resolve,reject)=>{