瀏覽代碼

删除debugger

wangchao 3 年之前
父節點
當前提交
e9680913c3

+ 1 - 2
components/linzq-citySelect/linzq-citySelect.vue

@@ -191,7 +191,7 @@
 				}
 			},
 
-			back_city(item) {debugger
+			back_city(item) {
 				if (item) {
 					this.$emit('back_city', item);
 					//unshift 把数据插入到首位,与push相反
@@ -210,7 +210,6 @@
 						return newArr
 					}
 					this.Visit = distinct(arr)
-					debugger
 					console.log(this.Visit, "---最近访问")
 					uni.setStorage({
 						key: 'Visit_key',

+ 0 - 1
pages/grain_pulse/home.vue

@@ -144,7 +144,6 @@
 			})
 		},
 		onLoad(option) {
-			debugger
 			if (option.position)
 				this.position = option.position
 		},

+ 0 - 3
pages/grain_pulse/position/position.vue

@@ -61,7 +61,6 @@
 			}
 		},
 		onLoad(e) {
-			debugger
 			if (e.city) {
 				this.city = e.city
 			}
@@ -69,7 +68,6 @@
 			uni.getStorage({
 				key: 'SearchList_key',
 				success: function(res) {
-					debugger
 					that.list = res.data
 				}
 			});
@@ -213,7 +211,6 @@
 							key: 'SearchList_key',
 							data: that.list
 						});
-						debugger
 						uni.setStorage({
 							key: 'setLocaltion',
 							data: res.name,

+ 2 - 2
pages/grain_pulse/selectCity/selectCity.vue

@@ -17,14 +17,14 @@
 		},
 		onLoad() {
 			uni.getSystemInfo({
-				success: function(res) {debugger
+				success: function(res) {
 					console.log("statusBarHeight", res.statusBarHeight)
 					that.statusBarHeight += res.statusBarHeight + "px"; //这就是状态栏的高度
 				},
 			});
 		},
 		methods: {
-			back_city(e) {debugger
+			back_city(e) {
 				if (e !== 'no') {
 					this.region = e.cityName 
 					// this.$refs.popupRef.close();

+ 0 - 1
util/util.js

@@ -415,7 +415,6 @@ const utils = {
 				type: 'gcj02',
 				geocode: true,
 				success: function(res) {
-					debugger
 					if (res.errMsg == "getLocation:ok") {
 						resolve(res);
 					} else {