优化登录的逻辑,

This commit is contained in:
gaoxs
2020-03-18 19:01:12 +08:00
parent 1b507e7396
commit 4cc4c60a87
18 changed files with 1222 additions and 1183 deletions

View File

@ -495,7 +495,8 @@
},
methods: {
copyClipboard,
showChang: function() {
showChang: function() {
// 这里判断是不是微信小程序
if (isWeixin()) {
let config = {
latitude: this.system_store.latitude,
@ -503,14 +504,6 @@
name: this.system_store.name,
address: this.system_store._detailed_address
};
// wechatEvevt("openLocation", config)
// .then(res => {
// })
// .catch(res => {
// if (res.is_ready) {
// res.wx.openLocation(config);
// }
// });
} else {
if (!this.mapKey)
uni.showToast({