fix: 调整detection左侧筛选框“showmore”出现逻辑

This commit is contained in:
chenjinsong
2022-02-28 17:40:43 +08:00
parent 4c26da0d3f
commit ad574e24d8

View File

@@ -50,7 +50,7 @@ export default {
}, */ }, */
showMore (filter) { showMore (filter) {
filter.showIndex && (filter.showIndex += 10) filter.showIndex && (filter.showIndex += 10)
filter.showIndex >= filter.data.length && (filter.showMore = false) filter.showIndex >= (filter.data.length - 1) && (filter.showMore = false)
} }
}, },
computed: { computed: {