diff --git a/nezha-fronted/src/components/cli/fileDirectory.vue b/nezha-fronted/src/components/cli/fileDirectory.vue index cfd17200c..4dddb1812 100644 --- a/nezha-fronted/src/components/cli/fileDirectory.vue +++ b/nezha-fronted/src/components/cli/fileDirectory.vue @@ -150,6 +150,9 @@ +
+ {{$t('fileDirectory.overNum', {num: overNum})}} +
this.showNum) { + this.overNum = res.data.list.length - this.showNum + res.data.list.splice(this.showNum, res.data.list.length) + } else { + this.overNum = false + } res.data.list.forEach(item => { if (item.name[0] === '.') { item.isHide = true