Code cleanup

This commit is contained in:
haiyangcui
2020-10-18 17:56:35 +02:00
parent 0401ce6d7e
commit 72089bf53f
3 changed files with 0 additions and 9 deletions

View File

@@ -87,11 +87,6 @@ export default {
this.detail = {
show: false
}
if (this.editSites.show === true) {
this.editSites = {
show: false
}
}
}
}
}

View File

@@ -112,9 +112,6 @@ export default {
},
methods: {
...mapMutations(['SET_SETTING', 'SET_EDITSITES']),
close () {
this.editSites.show = false
},
getSites () {
sites.all().then(res => {
this.sites = res

View File

@@ -27,7 +27,6 @@ export default new Vuex.Store({
info: {}
},
editSites: {
show: false,
sites: []
}
},