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

[t-table] 表格校验结果错误 #4918

Open
52Hertz-1 opened this issue Jan 10, 2025 · 1 comment
Open

[t-table] 表格校验结果错误 #4918

52Hertz-1 opened this issue Jan 10, 2025 · 1 comment
Labels
🌍 Compatibility issue for compatibility

Comments

@52Hertz-1
Copy link

tdesign-vue-next 版本

lastest

重现链接

No response

重现步骤

当rowkey所属字段存在'_'时返回校验结果错误, 例如rowKey对应字段值为xxx_xxx则使用tableRef.value.validateTableData()拿到的结果是{}对象

期望结果

实际校验结果

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

// getCellKey的反向操作 用于获取rowKey
export function getRowKeyFromCell(cellKey: string) {
return cellKey.split('')?.[0];
}
此方法取值返回不能简单调用.split('
')?.[0];

Copy link
Contributor

👋 @52Hertz-1,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@uyarn uyarn added the 🌍 Compatibility issue for compatibility label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌍 Compatibility issue for compatibility
Projects
None yet
Development

No branches or pull requests

2 participants