Commit 7acdf1ab by 李嘉林

登录问题修改

parent 533a70e0
...@@ -79,11 +79,11 @@ export default { ...@@ -79,11 +79,11 @@ export default {
if (!this.render) return; if (!this.render) return;
this.contentShow = false; this.contentShow = false;
this.checked = true; this.checked = true;
this.$emit("conF"); this.$emit("conF",this.checked);
}, },
conF1() { conF1() {
this.checked = !this.checked; this.checked = !this.checked;
this.$emit("conF"); this.$emit("conF",this.checked);
}, },
closeDia() { closeDia() {
if (!this.render) return; if (!this.render) return;
......
...@@ -243,8 +243,8 @@ export default { ...@@ -243,8 +243,8 @@ export default {
back() { back() {
wx.navigateBack() wx.navigateBack()
}, },
conF() { conF(val) {
this.checked = true; this.checked = val;
}, },
getshop() { getshop() {
this.shopName = wx.getStorageSync("shopName"); this.shopName = wx.getStorageSync("shopName");
...@@ -796,6 +796,7 @@ export default { ...@@ -796,6 +796,7 @@ export default {
login login
.getLogin(val) .getLogin(val)
.then(res => { .then(res => {
wx.hideLoading();
if (res.data.code == 200) { if (res.data.code == 200) {
this.backParams += `&sessionid=${ this.backParams += `&sessionid=${
res.data.data.sessionId res.data.data.sessionId
...@@ -818,7 +819,6 @@ export default { ...@@ -818,7 +819,6 @@ export default {
} else { } else {
wx.showToast({title: res.data.msg, icon: "none"}) wx.showToast({title: res.data.msg, icon: "none"})
} }
wx.hideLoading();
}) })
}, },
setOpenId() { setOpenId() {
......
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