File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
views/system/social/client Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ export interface SocialClientVO {
7
7
userType : number
8
8
clientId : string
9
9
clientSecret : string
10
+ agentId : string
10
11
status : number
11
12
}
12
13
Original file line number Diff line number Diff line change 33
33
</el-radio-group >
34
34
</el-form-item >
35
35
<el-form-item label =" 客户端编号" prop =" clientId" >
36
- <el-input v-model =" formData.clientId" placeholder =" 请输入客户端编号" />
36
+ <el-input v-model =" formData.clientId" placeholder =" 请输入客户端编号,对应各平台的appKey " />
37
37
</el-form-item >
38
38
<el-form-item label =" 客户端密钥" prop =" clientSecret" >
39
- <el-input v-model =" formData.clientSecret" placeholder =" 请输入客户端密钥" />
39
+ <el-input
40
+ v-model =" formData.clientSecret"
41
+ placeholder =" 请输入客户端密钥,对应各平台的appSecret"
42
+ />
43
+ </el-form-item >
44
+ <el-form-item label =" agentId" prop =" agentId" >
45
+ <el-input v-model =" formData.agentId" placeholder =" 授权方的网页应用ID,有则填" />
40
46
</el-form-item >
41
47
<el-form-item label =" 状态" prop =" status" >
42
48
<el-radio-group v-model =" formData.status" >
@@ -74,6 +80,7 @@ const formData = ref({
74
80
userType: undefined ,
75
81
clientId: undefined ,
76
82
clientSecret: undefined ,
83
+ agentId: undefined ,
77
84
status: 0
78
85
})
79
86
const formRules = reactive ({
@@ -139,6 +146,7 @@ const resetForm = () => {
139
146
userType: undefined ,
140
147
clientId: undefined ,
141
148
clientSecret: undefined ,
149
+ agentId: undefined ,
142
150
status: 0
143
151
}
144
152
formRef .value ?.resetFields ()
You can’t perform that action at this time.
0 commit comments