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(() => {