mirror of
https://gitee.com/yudaocode/yudao-ui-admin-vue3.git
synced 2025-12-30 09:32:26 +00:00
!835 feat:【SocialClient】 支付宝小程序登录补充
Merge pull request !835 from 云扬四海/master-alipaymini
This commit is contained in:
@@ -7,6 +7,7 @@ export interface SocialClientVO {
|
||||
userType: number
|
||||
clientId: string
|
||||
clientSecret: string
|
||||
publicKey: string
|
||||
agentId: string
|
||||
status: number
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user