Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-login
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-login
Commits
2ccf5885
Commit
2ccf5885
authored
Jun 10, 2021
by
李丹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
验证码图片大小调整
parent
6b0ff397
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/pages/login.vue
src/pages/login.vue
+1
-1
src/request/api/general.js
src/request/api/general.js
+1
-1
No files found.
src/pages/login.vue
View file @
2ccf5885
...
...
@@ -15,7 +15,7 @@
class=
"login_forms"
>
<el-form-item>
<p
class=
"item_p"
>
账号
11
</p>
<p
class=
"item_p"
>
账号
</p>
<el-input
v-model.trim=
"form.userid"
autofocus=
"autofocus"
...
...
src/request/api/general.js
View file @
2ccf5885
...
...
@@ -22,7 +22,7 @@ const general = {
// 获取验证码
getrandomCode
()
{
return
axios
.
get
(
`/iam/api/getCaptcha`
);
return
axios
.
get
(
`/iam/api/getCaptcha
?width=240&height=60
`
);
},
// 校验验证码
validateRandomCode
(
id
,
value
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment