@@ -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',
@@ -144,7 +144,6 @@
})
onLoad(option) {
if (option.position)
this.position = option.position
@@ -61,7 +61,6 @@
onLoad(e) {
if (e.city) {
this.city = e.city
@@ -69,7 +68,6 @@
uni.getStorage({
key: 'SearchList_key',
success: function(res) {
that.list = res.data
});
@@ -213,7 +211,6 @@
data: that.list
key: 'setLocaltion',
data: res.name,
@@ -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();
@@ -415,7 +415,6 @@ const utils = {
type: 'gcj02',
geocode: true,
if (res.errMsg == "getLocation:ok") {
resolve(res);
} else {