const addData = ref({ recordName: "", appointmentStartTime: "", appointmentEndTime: "", departurePlace: "", arrivalPlace: "", vehicleId: "", vehicleNumber: "", driverId: "", nickName: "", recordStatus: "", reason: "", taskRemark: "", approachPointNum: "", simultaneous: "", approachPointList: [ { startPoint: "", endPoint: "", approachStatus: "", approachEndStatus: "", delFlag: "", approachStartComment: "", approachEndComment: "", approachStartTime: "", approachEndTime: "", rider: "", approachReason: "", approachCost: "", approachDepartureMiles: "", approachArrivalMiles: "", approachPointOrder: "", expenseLedgerList: [ { expenseType: "", expenseAmount: "", picture: "", }, ], clockList: [ { appointmentPoint: "", time: "", point: "", status: "", }, { appointmentPoint: null, time: "", point: "", status: "", }, ], }, ], }); 往approachPointList里面加数据失去响应式 const addclick = () => { addData.value.approachPointList.push({ startPoint: "", endPoint: "", approachStatus: "", approachEndStatus: "", delFlag: "", approachStartComment: "", approachEndComment: "", approachStartTime: "", approachEndTime: "", rider: "", approachReason: "", approachCost: "", approachDepartureMiles: "", approachArrivalMiles: "", approachPointOrder: "", expenseLedgerList: [ { expenseType: "", expenseAmount: "", picture: "", }, ], clockList: [ { appointmentPoint: "", time: "", point: "", status: "", }, { appointmentPoint: "", time: "", point: "", status: "", }, ], });