feat: move from life cycle to data or watcher
- remove from created / mounted - initialize component services in data - use immediate watcher where appropriate - deep watch for route changes
This commit is contained in:
parent
ebeca48be4
commit
f51371bbe0
59 changed files with 246 additions and 376 deletions
|
|
@ -23,7 +23,7 @@ export default {
|
|||
name: 'list-setting-duplicate',
|
||||
data() {
|
||||
return {
|
||||
listDuplicateService: ListDuplicateService,
|
||||
listDuplicateService: new ListDuplicateService(),
|
||||
selectedNamespace: null,
|
||||
}
|
||||
},
|
||||
|
|
@ -32,7 +32,6 @@ export default {
|
|||
NamespaceSearch,
|
||||
},
|
||||
created() {
|
||||
this.listDuplicateService = new ListDuplicateService()
|
||||
this.setTitle(this.$t('list.duplicate.title'))
|
||||
},
|
||||
methods: {
|
||||
|
|
|
|||
Reference in a new issue