Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
appbuild
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
赵啸非
appbuild
Commits
0a0f1a27
Commit
0a0f1a27
authored
7 months ago
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复部分sqlXml生成缺陷
parent
492d02b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
appbuild-manage-ui/admin/src/views/login/login.vue
appbuild-manage-ui/admin/src/views/login/login.vue
+12
-12
No files found.
appbuild-manage-ui/admin/src/views/login/login.vue
View file @
0a0f1a27
...
@@ -11,11 +11,11 @@
...
@@ -11,11 +11,11 @@
<el-form-item
label=
"密码"
>
<el-form-item
label=
"密码"
>
<el-input
v-model=
"form.password"
type=
'password'
></el-input>
<el-input
v-model=
"form.password"
type=
'password'
></el-input>
</el-form-item>
</el-form-item>
<!--
<el-form-item
label=
"验证码"
>
<el-form-item
label=
"验证码"
>
<el-input
v-model=
"form.securityCode"
>
<el-input
v-model=
"form.securityCode"
>
<img
slot=
"append"
width=
'60'
height=
"30"
:src=
'securityCodeUrl'
@
click=
'refreshCode'
/>
<img
slot=
"append"
width=
'60'
height=
"30"
:src=
'securityCodeUrl'
@
click=
'refreshCode'
/>
</el-input>
</el-input>
</el-form-item>
-->
</el-form-item>
<el-form-item
size=
"large"
>
<el-form-item
size=
"large"
>
<el-button
type=
"primary"
native-type=
'submit'
:loading=
'loading'
@
click=
'onSubmit'
>
登录
</el-button>
<el-button
type=
"primary"
native-type=
'submit'
:loading=
'loading'
@
click=
'onSubmit'
>
登录
</el-button>
</el-form-item>
</el-form-item>
...
@@ -36,7 +36,7 @@ const securityCodeUrl = '/m/securitycode/createCode?v=';
...
@@ -36,7 +36,7 @@ const securityCodeUrl = '/m/securitycode/createCode?v=';
export
default
{
export
default
{
name
:
'
login
'
,
name
:
'
login
'
,
created
()
{
created
()
{
//
this.refreshCode()
this
.
refreshCode
()
},
},
methods
:
{
methods
:
{
...
@@ -59,10 +59,10 @@ export default {
...
@@ -59,10 +59,10 @@ export default {
//this.refreshCode();
//this.refreshCode();
this
.
$message
.
error
(
error
.
message
);
this
.
$message
.
error
(
error
.
message
);
},
},
//
refreshCode() {
refreshCode
()
{
//
this.form.securityCode = '';
this
.
form
.
securityCode
=
''
;
//
this.securityCodeUrl = securityCodeUrl + Math.random();
this
.
securityCodeUrl
=
securityCodeUrl
+
Math
.
random
();
//
},
},
onSubmit
(
e
)
{
onSubmit
(
e
)
{
e
.
preventDefault
();
e
.
preventDefault
();
...
@@ -72,9 +72,9 @@ export default {
...
@@ -72,9 +72,9 @@ export default {
if
(
!
this
.
form
.
password
.
length
){
if
(
!
this
.
form
.
password
.
length
){
return
this
.
$message
.
warning
(
'
请输入密码
'
)
return
this
.
$message
.
warning
(
'
请输入密码
'
)
}
}
//
if(!this.form.securityCode.length){
if
(
!
this
.
form
.
securityCode
.
length
){
//
return this.$message.warning('请输入验证码')
return
this
.
$message
.
warning
(
'
请输入验证码
'
)
//
}
}
this
.
login
();
this
.
login
();
},
},
},
},
...
@@ -82,11 +82,11 @@ export default {
...
@@ -82,11 +82,11 @@ export default {
return
{
return
{
loading
:
false
,
loading
:
false
,
redirect
:
this
.
$route
.
query
.
redirect
||
'
/
'
,
redirect
:
this
.
$route
.
query
.
redirect
||
'
/
'
,
///
securityCodeUrl: securityCodeUrl,
securityCodeUrl
:
securityCodeUrl
,
form
:
{
form
:
{
loginName
:
''
,
loginName
:
''
,
password
:
''
,
password
:
''
,
//
securityCode: '',
securityCode
:
''
,
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
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