mirror of
https://github.com/yudaocode/yudao-ui-admin-vue3.git
synced 2026-04-25 01:28:39 +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
|
userType: number
|
||||||
clientId: string
|
clientId: string
|
||||||
clientSecret: string
|
clientSecret: string
|
||||||
|
publicKey: string
|
||||||
agentId: string
|
agentId: string
|
||||||
status: number
|
status: number
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,6 +44,9 @@
|
|||||||
<el-form-item label="agentId" prop="agentId" v-if="formData!.socialType === 30">
|
<el-form-item label="agentId" prop="agentId" v-if="formData!.socialType === 30">
|
||||||
<el-input v-model="formData.agentId" placeholder="授权方的网页应用 ID,有则填" />
|
<el-input v-model="formData.agentId" placeholder="授权方的网页应用 ID,有则填" />
|
||||||
</el-form-item>
|
</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-form-item label="状态" prop="status">
|
||||||
<el-radio-group v-model="formData.status">
|
<el-radio-group v-model="formData.status">
|
||||||
<el-radio
|
<el-radio
|
||||||
@@ -80,6 +83,7 @@ const formData = ref({
|
|||||||
userType: undefined,
|
userType: undefined,
|
||||||
clientId: undefined,
|
clientId: undefined,
|
||||||
clientSecret: undefined,
|
clientSecret: undefined,
|
||||||
|
publicKey: undefined,
|
||||||
agentId: undefined,
|
agentId: undefined,
|
||||||
status: 0
|
status: 0
|
||||||
})
|
})
|
||||||
@@ -146,6 +150,7 @@ const resetForm = () => {
|
|||||||
userType: undefined,
|
userType: undefined,
|
||||||
clientId: undefined,
|
clientId: undefined,
|
||||||
clientSecret: undefined,
|
clientSecret: undefined,
|
||||||
|
publicKey: undefined,
|
||||||
agentId: undefined,
|
agentId: undefined,
|
||||||
status: 0
|
status: 0
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user