Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
adminDemo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄志甲
adminDemo
Commits
3eaf08fb
Commit
3eaf08fb
authored
Mar 10, 2020
by
黄志甲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复小bug
parent
3f271a89
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
src/router/menu.js
+1
-1
src/view/Main.vue
+6
-2
src/view/admin/administrators/adminInfor.vue
+1
-3
src/view/admin/administrators/adminPwd.vue
+1
-3
No files found.
src/router/menu.js
View file @
3eaf08fb
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
action
:
'admin-administrators-adminInfor'
action
:
'admin-administrators-adminInfor'
},
},
{
{
title
:
'
个人资料
'
,
title
:
'
修改密码
'
,
path
:
'/admin/administrators/adminPwd'
,
path
:
'/admin/administrators/adminPwd'
,
action
:
'admin-administrators-adminInfor'
action
:
'admin-administrators-adminInfor'
}]
}]
...
...
src/view/Main.vue
View file @
3eaf08fb
...
@@ -37,8 +37,12 @@
...
@@ -37,8 +37,12 @@
</Col>
</Col>
<Col
span=
"3"
>
<Col
span=
"3"
>
<Row
type=
"flex"
justify=
"end"
align=
"middle"
>
<Row
type=
"flex"
justify=
"end"
align=
"middle"
>
<div
class=
"name"
>
name
</div>
<div
class=
"name know-flex konw-center know-align-center"
>
<Button
type=
"error"
size=
"small"
@
click=
"loginOut"
>
退出登录
</Button>
<Icon
type=
"md-person"
class=
"font-30"
style=
"padding-right:10px;"
/>
name
</div>
<Button
size=
"small"
@
click=
"loginOut"
>
退出
</Button>
</Row>
</Row>
</Col>
</Col>
</Row>
</Row>
...
...
src/view/admin/administrators/adminInfor.vue
View file @
3eaf08fb
...
@@ -18,16 +18,14 @@
...
@@ -18,16 +18,14 @@
<FormItem
label=
"登陆密码"
prop=
"pwd"
>
<FormItem
label=
"登陆密码"
prop=
"pwd"
>
<Input
v-model=
"modalInfordata.pwd"
type=
"password"
password
placeholder=
"请输入登陆密码"
></Input>
<Input
v-model=
"modalInfordata.pwd"
type=
"password"
password
placeholder=
"请输入登陆密码"
></Input>
</FormItem>
</FormItem>
<FormItem>
<Row
type=
"flex"
justify=
"center"
>
<Row
type=
"flex"
justify=
"center"
>
<Button
type=
"primary"
style=
"margin-right:
10
0px"
@
click=
"updateOk"
>
<Button
type=
"primary"
style=
"margin-right:
5
0px"
@
click=
"updateOk"
>
修改
修改
</Button>
</Button>
<Button
@
click=
"reset"
>
<Button
@
click=
"reset"
>
重置
重置
</Button>
</Button>
</Row>
</Row>
</FormItem>
</Form>
</Form>
</Card>
</Card>
</Col>
</Col>
...
...
src/view/admin/administrators/adminPwd.vue
View file @
3eaf08fb
...
@@ -15,16 +15,14 @@
...
@@ -15,16 +15,14 @@
<FormItem
label=
"新密码"
prop=
"pwd"
>
<FormItem
label=
"新密码"
prop=
"pwd"
>
<Input
v-model=
"modalInfordata.newPwd"
placeholder=
"请输入排序"
></Input>
<Input
v-model=
"modalInfordata.newPwd"
placeholder=
"请输入排序"
></Input>
</FormItem>
</FormItem>
<FormItem>
<Row
type=
"flex"
justify=
"center"
>
<Row
type=
"flex"
justify=
"center"
>
<Button
type=
"primary"
style=
"margin-right:
10
0px"
@
click=
"updateOk"
>
<Button
type=
"primary"
style=
"margin-right:
5
0px"
@
click=
"updateOk"
>
修改
修改
</Button>
</Button>
<Button
@
click=
"reset"
>
<Button
@
click=
"reset"
>
重置
重置
</Button>
</Button>
</Row>
</Row>
</FormItem>
</Form>
</Form>
</Card>
</Card>
</Col>
</Col>
...
...
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