Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

表格编辑的时候,无法对同一行其他单元格赋值。 #646

Closed
lolysc opened this issue May 24, 2021 · 4 comments
Closed

表格编辑的时候,无法对同一行其他单元格赋值。 #646

lolysc opened this issue May 24, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@lolysc
Copy link

lolysc commented May 24, 2021

如题。

@lolysc
Copy link
Author

lolysc commented May 24, 2021

http://localhost:3101/#/comp/table/editRowTable
以这个路由为例:我输入某单元格的时候,希望能改变其他单元格的值。@edit-change拦截到的data.record给其他栏位赋值,没有效果。发觉基类里返回的是toRaw(record),但是即使去掉toRaw依然无效。
EditableCell.vue
table.emit?.('edit-change', {
column: props.column,
value: unref(currentValueRef),
record:props.record
// record: toRaw(props.record),
});

@anncwb
Copy link
Collaborator

anncwb commented May 26, 2021

目前不支持这个功能

@anncwb anncwb added the enhancement New feature or request label Jun 1, 2021
@mynetfan
Copy link
Collaborator

mynetfan commented Jun 5, 2021

@lolysc 已在 fe2bcfc 添加支持及演示页面。

@lolysc
Copy link
Author

lolysc commented Jun 11, 2021

@anncwb ,已经验证通过,感谢支持!

@github-actions github-actions bot locked and limited conversation to collaborators Sep 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants