8622-testToMaster #1411

Merged
alexm merged 746 commits from 8622-testToMaster into master 2025-02-18 07:54:25 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 2ffcb6dfe8 - Show all commits

View File

@ -114,7 +114,8 @@ onBeforeRouteLeave((to, from, next) => {
});
async function fetch(data) {
const rows = $attrs['key-data'] ? data[$attrs['key-data']] : data;
const keyData = $attrs['key-data'];
const rows = keyData ? data[keyData] : data;
resetData(rows);
emit('onFetch', rows);
return rows;