Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ant-design-pro-vue
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tianzhuanghu
ant-design-pro-vue
Commits
ffa7c674
Commit
ffa7c674
authored
Dec 19, 2018
by
Sendya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: cleanup
parent
7d611cff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
index.js
src/components/menu/index.js
+1
-3
AvatarModal.vue
src/views/account/settings/AvatarModal.vue
+7
-1
No files found.
src/components/menu/index.js
View file @
ffa7c674
...
@@ -44,7 +44,6 @@ export default {
...
@@ -44,7 +44,6 @@ export default {
this
.
updateMenu
()
this
.
updateMenu
()
},
},
watch
:
{
watch
:
{
/*
collapsed
(
val
)
{
collapsed
(
val
)
{
if
(
val
)
{
if
(
val
)
{
this
.
cachedOpenKeys
=
this
.
openKeys
.
concat
()
this
.
cachedOpenKeys
=
this
.
openKeys
.
concat
()
...
@@ -53,7 +52,6 @@ export default {
...
@@ -53,7 +52,6 @@ export default {
this
.
openKeys
=
this
.
cachedOpenKeys
this
.
openKeys
=
this
.
cachedOpenKeys
}
}
},
},
*/
$route
:
function
()
{
$route
:
function
()
{
this
.
updateMenu
()
this
.
updateMenu
()
}
}
...
@@ -134,7 +132,7 @@ export default {
...
@@ -134,7 +132,7 @@ export default {
props
:
{
props
:
{
theme
:
this
.
$props
.
theme
,
theme
:
this
.
$props
.
theme
,
mode
:
this
.
$props
.
mode
,
mode
:
this
.
$props
.
mode
,
//
openKeys: this.openKeys,
openKeys
:
this
.
openKeys
,
selectedKeys
:
this
.
selectedKeys
selectedKeys
:
this
.
selectedKeys
},
},
on
:
{
on
:
{
...
...
src/views/account/settings/AvatarModal.vue
View file @
ffa7c674
<
template
>
<
template
>
<a-modal
:visible=
"visible"
title=
"修改头像"
:maskClosable=
"false"
:confirmLoading=
"confirmLoading"
:width=
"800"
@
cancel=
"cancelHandel"
>
<a-modal
title=
"修改头像"
:visible=
"visible"
:maskClosable=
"false"
:confirmLoading=
"confirmLoading"
:width=
"800"
@
cancel=
"cancelHandel"
>
<a-row>
<a-row>
<a-col
:xs=
"24"
:md=
"12"
:style=
"
{height: '350px'}">
<a-col
:xs=
"24"
:md=
"12"
:style=
"
{height: '350px'}">
<vue-cropper
<vue-cropper
...
...
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