Explorar o código

首页去除下拉刷新

htc hai 1 semana
pai
achega
3a8a453b87
Modificáronse 2 ficheiros con 1 adicións e 6 borrados
  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)=>{