🧵 优化初次加载请求多次的问题

This commit is contained in:
Hunlongyu
2020-10-22 13:41:47 +08:00
parent 0f456fe7a8
commit 79b02df628
2 changed files with 1 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
<Star v-show="view === 'Star'" />
<History v-show="view === 'History'" />
<Setting v-show="view === 'Setting'" />
<EditSites v-show="view === 'EditSites'"/>
<EditSites v-if="view === 'EditSites'"/>
</div>
<transition name="slide">
<Detail v-if="detail.show"/>

View File

@@ -483,7 +483,6 @@ export default {
}
},
created () {
this.getAllsites()
this.getAllSearch()
}
}