From e358d69fc18870584dd2d9f531910b7838ea27d9 Mon Sep 17 00:00:00 2001 From: wangting <wangting@vci-tech.com> Date: 星期四, 02 一月 2025 09:58:53 +0800 Subject: [PATCH] 调整行点击后的回调 --- Source/plt-web/plt-web-ui/src/views/system/log/index.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/views/system/log/index.vue b/Source/plt-web/plt-web-ui/src/views/system/log/index.vue index 6172a24..3eedc62 100644 --- a/Source/plt-web/plt-web-ui/src/views/system/log/index.vue +++ b/Source/plt-web/plt-web-ui/src/views/system/log/index.vue @@ -49,17 +49,17 @@ column: [ { label: '鐢ㄦ埛鍚�', - prop: 'truename', + prop: 'username', search: true, searchSpan: 4, searchLabel: '鎿嶄綔鐢ㄦ埛', type: 'select', dicUrl: '/api/loginBasicController/getOperatingUsers', sortable: true, - width: 150 + width: 200 }, { label: '濮撳悕', - prop: 'username', + prop: 'truename', sortable: true, width: 150 }, { @@ -123,7 +123,6 @@ }, }, created() { - console.log(this.$route.query.id) }, methods: { // 琛ㄦ牸璇锋眰 @@ -135,6 +134,7 @@ }).then(res => { this.tableData = res.data.data; this.page.total = res.data.total; + this.selectList=[]; this.tableLoading = false; }) }, @@ -196,7 +196,7 @@ this.lastIndex = newIndex; }, () => { - this.selectList = []; + this.selectList = [row]; } ); }, -- Gitblit v1.9.3