|
|
@@ -123,8 +123,8 @@
|
|
|
|
|
|
function fetchDetailData() {
|
|
|
const { deptId, goafId } = dataRef.value;
|
|
|
- getGoafData({ deptId, goafId }).then((r) => {
|
|
|
- dataRef.value = last(r);
|
|
|
+ getGoafData({ deptId, goafId }).then(({ records }) => {
|
|
|
+ dataRef.value = last(records);
|
|
|
push(dataRef.value);
|
|
|
});
|
|
|
}
|