Explorar o código

监控新增查看图片

zhangsijie %!s(int64=2) %!d(string=hai) anos
pai
achega
e0a3eb35cd
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      pages/monitor/imagelist.vue

+ 7 - 1
pages/monitor/imagelist.vue

@@ -110,7 +110,13 @@
 					});
 					this.page = 1
 					this.imglists = []
-					this.imglistdata(parseInt(this.timestate), parseInt(this.timeend))
+					if(this.timestate != '') {
+						this.timestate = parseInt(this.timestate)
+					}
+					if(this.timeend != '') {
+						this.timeend = parseInt(this.timeend)
+					}
+					this.imglistdata(this.timestate, this.timeend)
 				} else {
 					uni.showToast({
 						title: '删除失败!',