Skip to content

Commit

Permalink
fix: 修复 eslint 错误
Browse files Browse the repository at this point in the history
  • Loading branch information
woai3c committed Aug 1, 2023
1 parent d2e9613 commit 84df7f3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/custom-component/common/CommonAttr.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ export default {
return this.$store.state.curComponent
},
},
created() {
this.activeName = this.curComponent.collapseName
},
watch: {
curComponent(){
curComponent() {
this.activeName = this.curComponent.collapseName
}
},
},
created() {
this.activeName = this.curComponent.collapseName
},
methods: {
onChange() {
Expand Down

0 comments on commit 84df7f3

Please sign in to comment.