perf: 优化loading
This commit is contained in:
@@ -183,10 +183,10 @@ export default {
|
||||
methods: {
|
||||
onSearch () {
|
||||
this.list = []
|
||||
this.searchQuery.page = 1
|
||||
// 返回顶部
|
||||
this.$refs.scroll.scrollTo(0, 0)
|
||||
this.getData()
|
||||
// this.searchQuery.page = 1
|
||||
// // 返回顶部
|
||||
// this.$refs.scroll.scrollTo(0, 0)
|
||||
this.getData(1)
|
||||
},
|
||||
getData (page) {
|
||||
switch (this.$route.query.standType) {
|
||||
|
||||
Reference in New Issue
Block a user