Commit ffa7c674 by Sendya

chore: cleanup

parent 7d611cff
...@@ -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: {
......
<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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment