Commit 35298caa authored by 胡's avatar

fix: 接上,提交部分多余

parent 7645a3da
...@@ -141,18 +141,18 @@ export default { ...@@ -141,18 +141,18 @@ export default {
console.log('&&&&&&&&&&&&___ios') console.log('&&&&&&&&&&&&___ios')
// if (!$config.isMobilePlatform) { // if (!$config.isMobilePlatform) {
// } // }
// baidumap_location.getCurrentPosition(function (result) { baidumap_location.getCurrentPosition(function (result) {
// if (window.localStorage.getItem('province')) { if (window.localStorage.getItem('province')) {
// vm.city = window.localStorage.getItem('city') vm.city = window.localStorage.getItem('city')
// vm.province = window.localStorage.getItem('province') vm.province = window.localStorage.getItem('province')
// vm.guessingQuery(vm.city) vm.guessingQuery(vm.city)
// } else { } else {
// vm.city = result.city vm.city = result.city
// vm.province = result.province vm.province = result.province
// vm.guessingQuery(result.city) vm.guessingQuery(result.city)
// } }
// }, function (error) { }, function (error) {
// }) })
// setTimeout(vm.guessingQuery(), 0) // setTimeout(vm.guessingQuery(), 0)
}, },
goFunctionHome (data) { goFunctionHome (data) {
......
...@@ -111,18 +111,18 @@ export default { ...@@ -111,18 +111,18 @@ export default {
// console.log(error) // console.log(error)
// }, {enableHighAccuracy: true}) // }, {enableHighAccuracy: true})
// } else { // ios使用插件定位 // } else { // ios使用插件定位
// baidumap_location.getCurrentPosition(function (result) { baidumap_location.getCurrentPosition(function (result) {
// console.log('*********** ' + JSON.stringify(result)) console.log('*********** ' + JSON.stringify(result))
// window.localStorage.setItem('province', result.province) window.localStorage.setItem('province', result.province)
// window.localStorage.setItem('city', result.city) window.localStorage.setItem('city', result.city)
// vm.places = window.localStorage.getItem('province') + '-' + window.localStorage.getItem('city') vm.places = window.localStorage.getItem('province') + '-' + window.localStorage.getItem('city')
// vm.province = '请选择省' vm.province = '请选择省'
// vm.city = '请选择市' vm.city = '请选择市'
// vm.flag = false vm.flag = false
// vm.province_flag = true vm.province_flag = true
// }, function (error) { }, function (error) {
// console.log('errorerrorerrorerror ' + error) console.log('errorerrorerrorerror ' + error)
// }) })
// } // }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment