|
@@ -12,15 +12,19 @@ export default defineComponent({
|
|
|
onClose: {
|
|
|
type: Function,
|
|
|
// (...args: any[]) => any) | undefined
|
|
|
- default: () => {}
|
|
|
+ default: () => ({})
|
|
|
},
|
|
|
onSendCode: {
|
|
|
type: Function,
|
|
|
- default: () => {}
|
|
|
+ default: () => ({})
|
|
|
},
|
|
|
type: {
|
|
|
type: String,
|
|
|
default: 'LOGIN'
|
|
|
+ },
|
|
|
+ clientId: {
|
|
|
+ type: String,
|
|
|
+ default: ''
|
|
|
}
|
|
|
},
|
|
|
data() {
|
|
@@ -87,7 +91,7 @@ export default defineComponent({
|
|
|
mobile: this.phone,
|
|
|
type: this.type,
|
|
|
code: this.code,
|
|
|
- clientId: state.clientId[state.platformType]
|
|
|
+ clientId: this.clientId || state.clientId[state.platformType]
|
|
|
}
|
|
|
})
|
|
|
setTimeout(() => {
|