From 7b051c205df2082bd594d55f4645e0f820042d3d Mon Sep 17 00:00:00 2001 From: zhangsir Date: Mon, 19 Aug 2024 11:39:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=95=E7=A5=A8=E7=8A=B6=E6=80=81=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E4=BF=AE=E6=94=B9=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/drawers/project/ProjectVoteManage.vue | 12 ++++++------ src/components/drawers/router/RouterVoteManage.vue | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/components/drawers/project/ProjectVoteManage.vue b/src/components/drawers/project/ProjectVoteManage.vue index 0263fd8b..8e915ea9 100644 --- a/src/components/drawers/project/ProjectVoteManage.vue +++ b/src/components/drawers/project/ProjectVoteManage.vue @@ -178,22 +178,22 @@ pageSize: 10, currentPage: 1, tableDataTotal: 0, - projectName: '', + projectName: null, projectNameList: [ { id: 1, - value: "0", + value: 0, label: "未开始", }, { id: 2, - value: "2", + value: 2, label: "进行中", }, { id: 3, - value: "1", + value: 1, label: "已完成", }, ], @@ -342,7 +342,7 @@ ctx.emit("update:ProjectVoteModelVisible", false); state.currentPage = 1; state.name = ""; - state.projectName = ''; + state.projectName = null; state.tabledata = []; }; const afterVisibleChange = (bol) => { @@ -443,7 +443,7 @@ state.tableDataTotalLoading = true; state.currentPage = 1; state.name = ""; - state.projectName = ''; + state.projectName = null; getData(); } diff --git a/src/components/drawers/router/RouterVoteManage.vue b/src/components/drawers/router/RouterVoteManage.vue index 694a4ab1..a3b3c60a 100644 --- a/src/components/drawers/router/RouterVoteManage.vue +++ b/src/components/drawers/router/RouterVoteManage.vue @@ -182,22 +182,22 @@ pageSize: 10, currentPage: 1, tableDataTotal: 0, - projectName: '', + projectName: null, projectNameList: [ { id: 1, - value: "0", + value: 0, label: "未开始", }, { id: 2, - value: "2", + value: 2, label: "进行中", }, { id: 3, - value: "1", + value: 1, label: "已完成", } ], @@ -362,7 +362,7 @@ ctx.emit("update:VoteModelVisible", false); state.currentPage = 1; state.name = ""; - state.projectName = ''; + state.projectName = null; state.tabledata = []; }; const afterVisibleChange = (bol) => { @@ -464,7 +464,7 @@ state.tableDataTotalLoading = true; state.currentPage = 1; state.name = ""; - state.projectName = ''; + state.projectName = null; getData(); }