tiny-vue
tiny-vue copied to clipboard
🐛 [Bug]: grid组件通过 row.edit 判断错误
Version
3.11.1
Vue Version
3.3.7
Link to minimal reproduction
const tableData = reactive([])
...
const { data } = await opLicenceList({ productId: id }) tableData.splice(0, tableData.length, ...data )
Step to reproduce
tableData 为 表格源数据,在编辑操作之后,重新请求数据覆盖 tableData 后,导致 row.edit 和 tableData[rowIndex].edit 状态不一致,后续通过 row.edit 判断错误
What is expected
No response
What is actually happening
No response
What is your project name
Yukisoft
Any additional comments (optional)
No response