@@ -255,6 +255,7 @@ export default defineComponent({
{this.codeStatus && (
<ImgCode
phone={this.form.username}
+ loginType={this.loginType}
onClose={() => {
this.codeStatus = false
}}
@@ -11,6 +11,10 @@ export default defineComponent({
type: String,
default: ''
},
+ loginType: {
+ type: String,
+ default: ''
+ },
onSendCode: {
type: Function,
default: () => {}
@@ -51,7 +55,8 @@ export default defineComponent({
data: {
mobile: this.phone,
type: 'LOGIN',
- code: this.code
+ code: this.code,
+ client: this.loginType
}
})
this.loading = false