lj hace 4 años
padre
commit
cc74c9d609
Se han modificado 1 ficheros con 4 adiciones y 5 borrados
  1. 4 5
      pages/monitor/index.vue

+ 4 - 5
pages/monitor/index.vue

@@ -1,7 +1,6 @@
 <template>
 	<view class="">
-		<uni-nav-bar  @clickLeft="clickLeft" left-icon="back" left-text="返回" 
-		 title="监控系统"></uni-nav-bar>
+		<uni-nav-bar @clickLeft="clickLeft" left-icon="back" left-text="返回" title="监控系统"></uni-nav-bar>
 		<view class="">
 			<image src="../../static/image/monitor/banner.png" mode="widthFix"></image>
 		</view>
@@ -40,9 +39,9 @@
 			this.page = 1
 			this.listArr = []
 			this.getEquipList()
-			setTimeout(()=>{
+			setTimeout(() => {
 				uni.stopPullDownRefresh()
-			},1000)
+			}, 1000)
 
 		},
 		onReachBottom() {
@@ -83,7 +82,7 @@
 				// 	url:"/pages/monitor/detail?device_id="+item.device_id+"&accessToken="+this.accessToken
 				// })
 				uni.navigateTo({
-					url:"/pages/webview?device_id="+item.device_id+"&accessToken="+this.accessToken
+					url: "/pages/webview?device_id=" + item.device_id + "&accessToken=" + this.accessToken
 				})
 			}
 		},