From 2014a0aff4f3d922abb3eb8f629ba11164a25a12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E4=B8=87=E9=87=8C?= <7374215+wanli_yang@user.noreply.gitee.com> Date: Tue, 14 Feb 2023 11:46:46 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/basecar/car/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/basecar/car/index.vue b/ruoyi-ui/src/views/basecar/car/index.vue index 2e2e71f..9833e9d 100644 --- a/ruoyi-ui/src/views/basecar/car/index.vue +++ b/ruoyi-ui/src/views/basecar/car/index.vue @@ -251,7 +251,7 @@ const resetQuery = () => { /** 多选框选中数据 */ function handleSelectionChange(selection) { - ids.value = selection.map(item => item.id); + ids.value = selection.map(item => item.carLicense); single.value = selection.length !== 1; multiple.value = !selection.length; } @@ -311,7 +311,7 @@ function submitForm() { function handleDelete(row) { const postIds = row.id || ids.value; proxy.$modal.confirm(t('option.confirmDeletion', { - key: t('baseCar.car.companyCode'), value: postIds + key: t('baseCar.car.carLicense'), value: postIds })).then(function () { return delBaseCar(postIds); }).then(() => {