feat: refs #8077 changes request
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
13290aa44b
commit
2ffcb6dfe8
|
@ -114,7 +114,8 @@ onBeforeRouteLeave((to, from, next) => {
|
||||||
});
|
});
|
||||||
|
|
||||||
async function fetch(data) {
|
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);
|
resetData(rows);
|
||||||
emit('onFetch', rows);
|
emit('onFetch', rows);
|
||||||
return rows;
|
return rows;
|
||||||
|
|
Loading…
Reference in New Issue