Skip to content

Commit

Permalink
Merge pull request #113 from xingkoo/main
Browse files Browse the repository at this point in the history
从后端获取到的数据,可通过afterRequest方法进行调整
  • Loading branch information
zds-s authored Feb 27, 2024
2 parents e2d7dc8 + 32ca8df commit 473595e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ma-crud/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ const requestHandle = async () => {
} else {
console.error(`ma-crud error:crud.api not is Function.`)
}
isFunction(options.value.afterRequest) && options.value.afterRequest(tableData.value)
isFunction(options.value.afterRequest) && (tableData.value = options.value.afterRequest(tableData.value))
loading.value = false
}

Expand Down

0 comments on commit 473595e

Please sign in to comment.