From 63c9054386dca9b4b43ec2ea429b9c7f0cccd7e1 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Tue, 28 Feb 2023 14:54:34 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-2618=20fix=EF=BC=9A=20Web=20terminal?= =?UTF-8?q?=E4=BD=BF=E7=94=A8sftp=E6=8E=92=E5=BA=8F=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=8F=96=E6=B6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/cli/fileDirectory.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/cli/fileDirectory.vue b/nezha-fronted/src/components/cli/fileDirectory.vue index 5ceea8859..bb823d4d0 100644 --- a/nezha-fronted/src/components/cli/fileDirectory.vue +++ b/nezha-fronted/src/components/cli/fileDirectory.vue @@ -585,6 +585,7 @@ export default { return '-' }, resetState (type) { + console.log(type) if (type == 'sizeOrderType') { this.dateOrderType = 0 this.nameOrderType = 0 @@ -603,7 +604,7 @@ export default { if (!orderType) { orderType = this[key] === 'asc' ? 'desc' : 'asc' } - this.resetState(orderType) + this.resetState(key) if (this[key] == orderType) { this[key] = 0 this.fileList = this.oldFileList