From f06af37a5fb5b54674cbcc12e23962e807f271aa Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Fri, 15 Jul 2022 11:27:26 +0800 Subject: [PATCH] bug584 --- back/src/views/modules/sys/log-data-modification-log.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/back/src/views/modules/sys/log-data-modification-log.vue b/back/src/views/modules/sys/log-data-modification-log.vue index 37079a4d..a482cea2 100644 --- a/back/src/views/modules/sys/log-data-modification-log.vue +++ b/back/src/views/modules/sys/log-data-modification-log.vue @@ -221,7 +221,7 @@ export default { } }, operationType (val) { - if (val !== 'all') { + if (val !== 'all' && val !== '') { this.dataForm.operationType = val } } @@ -245,6 +245,7 @@ export default { // 重置按钮 resetFunction () { + this.operationType = '' // 操作类型转化 const params = { status: '', creatorName: '', @@ -254,10 +255,10 @@ export default { operationType: 'all' } this.value1 = '' // 格式化日期 - this.operationType = '' // 操作类型转化 this.page = 1 this.limit = 10 this.dataForm = params + console.log('this.dataForm', this.dataForm) this.getDataList() // 重置完调用查询方法 }, // 序号