diff --git a/components/panel/formSlot.vue b/components/panel/formSlot.vue index 7c0376b..d871c56 100644 --- a/components/panel/formSlot.vue +++ b/components/panel/formSlot.vue @@ -434,7 +434,8 @@ export default { } that.G.Get( that.api.login_sendMsg, - { + { + type:"assistant", tel: uni.getStorageSync("apply-tel"), }, (res) => { diff --git a/root/NEUIKit/components/formSlot.vue b/root/NEUIKit/components/formSlot.vue index 0bb1bde..6ab6be3 100644 --- a/root/NEUIKit/components/formSlot.vue +++ b/root/NEUIKit/components/formSlot.vue @@ -387,6 +387,7 @@ export default { that.api.login_sendMsg, { tel: uni.getStorageSync("apply-tel"), + type:"assistant", }, (res) => { that.msgCode.countdown = 60; diff --git a/root/person/loginIndex.vue b/root/person/loginIndex.vue index c0676d2..02d109f 100644 --- a/root/person/loginIndex.vue +++ b/root/person/loginIndex.vue @@ -45,6 +45,18 @@ + + @@ -55,6 +67,7 @@ export default { }, data() { return { + switchChecked: false, localBaseImg: this.G.store().localBaseImg, v3BaseImg: this.G.store().v3BaseImg, isLoginCode: false, @@ -89,6 +102,7 @@ export default { uni.setStorageSync('apply-code', res) }) }, + onShow() { this.G.clearLocalStorage() }, @@ -98,6 +112,11 @@ export default { } }, methods: { + switchChange() { + console.log('switchChecked', this.switchChecked); + console.log(this.switchChecked); + this.switchChecked = !this.switchChecked; + }, hideKeyboard(e) { console.log(e) if (e.length >= 4) { @@ -333,6 +352,7 @@ export default { that.api.login_sendMsg, { tel: that.form.tel, + type:"assistant", }, (res) => { that.msgCode.countdown = 60