From f90ee55e6d63cd02c2b883bd5bd942c487fce56a Mon Sep 17 00:00:00 2001 From: Your Name <123456> Date: 星期六, 20 八月 2022 16:51:33 +0800 Subject: [PATCH] 修改bug --- src/views/specialWorkSystem/workPlan/workReservation/index.vue | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/views/specialWorkSystem/workPlan/workReservation/index.vue b/src/views/specialWorkSystem/workPlan/workReservation/index.vue index 2c14f8a..7a1cc8d 100644 --- a/src/views/specialWorkSystem/workPlan/workReservation/index.vue +++ b/src/views/specialWorkSystem/workPlan/workReservation/index.vue @@ -318,7 +318,7 @@ await formEl.validate((valid, fields) => { if (valid) { if(chosenIndex.value == -1){ - tableData.push(addRecord.value) + tableData.unshift(addRecord.value) }else{ tableData[chosenIndex.value] = addRecord.value } -- Gitblit v1.9.2