-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed as not planned
Labels
Description
Version
Vben Admin V5
Describe the bug?
vxe-table的 Grid 组件,可以直接将edit-rules 或data等属性,传递给grid组件,但使用vben5封装的useVbenVxeGrid 方法后,无法通过下方的代码,将data或者edit-rules等属性传递给grid
<template>
<Grid :edit-rules="editRules" :data="data">
<template #action="{ row }">
<Button danger @click="handleDelete(row)">删除</Button>
</template>
</Grid>
</template>
Reproduction
System Info
macRelevant log output
-Validations
- Read the docs
- Ensure the code is up to date. (Some issues have been fixed in the latest version)
- I have searched the existing issues and checked that my issue does not duplicate any existing issues.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.