feat:【SocialClient】 支付宝小程序登录补充

This commit is contained in:
yunlongn
2025-11-27 13:43:23 +08:00
parent f8d99c593d
commit 8651fb4b42
2 changed files with 6 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ export interface SocialClientVO {
userType: number
clientId: string
clientSecret: string
publicKey: string
agentId: string
status: number
}

View File

@@ -44,6 +44,9 @@
<el-form-item label="agentId" prop="agentId" v-if="formData!.socialType === 30">
<el-input v-model="formData.agentId" placeholder="授权方的网页应用 ID有则填" />
</el-form-item>
<el-form-item label="publicKey" prop="publicKey" v-if="formData!.socialType === 40">
<el-input v-model="formData.publicKey" placeholder="publicKey公钥" />
</el-form-item>
<el-form-item label="状态" prop="status">
<el-radio-group v-model="formData.status">
<el-radio
@@ -80,6 +83,7 @@ const formData = ref({
userType: undefined,
clientId: undefined,
clientSecret: undefined,
publicKey: undefined,
agentId: undefined,
status: 0
})
@@ -146,6 +150,7 @@ const resetForm = () => {
userType: undefined,
clientId: undefined,
clientSecret: undefined,
publicKey: undefined,
agentId: undefined,
status: 0
}