Skip to content

Commit 526c4cf

Browse files
committed
chore: cleanup
1 parent 367e5f7 commit 526c4cf

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/components/menu/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export default {
4444
this.updateMenu()
4545
},
4646
watch: {
47-
/*
4847
collapsed(val) {
4948
if (val) {
5049
this.cachedOpenKeys = this.openKeys.concat()
@@ -53,7 +52,6 @@ export default {
5352
this.openKeys = this.cachedOpenKeys
5453
}
5554
},
56-
*/
5755
$route: function() {
5856
this.updateMenu()
5957
}
@@ -134,7 +132,7 @@ export default {
134132
props: {
135133
theme: this.$props.theme,
136134
mode: this.$props.mode,
137-
// openKeys: this.openKeys,
135+
openKeys: this.openKeys,
138136
selectedKeys: this.selectedKeys
139137
},
140138
on: {

src/views/account/settings/AvatarModal.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
<template>
2-
<a-modal :visible="visible" title="修改头像" :maskClosable="false" :confirmLoading="confirmLoading" :width="800" @cancel="cancelHandel">
2+
<a-modal
3+
title="修改头像"
4+
:visible="visible"
5+
:maskClosable="false"
6+
:confirmLoading="confirmLoading"
7+
:width="800"
8+
@cancel="cancelHandel">
39
<a-row>
410
<a-col :xs="24" :md="12" :style="{height: '350px'}">
511
<vue-cropper

0 commit comments

Comments
 (0)