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

👑 [需求]增加关闭Protable中transform的深合并的开关 #8412

Open
k4281613 opened this issue May 15, 2024 · 2 comments
Open

👑 [需求]增加关闭Protable中transform的深合并的开关 #8412

k4281613 opened this issue May 15, 2024 · 2 comments

Comments

@k4281613
Copy link

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

🔩 所属模块或组件

ProTable更新到最新版本后,transform属性变成了深合并模式。

🥰 需求描述

transform变成深合并模式后,将会将原本值传递到查询条件。原本的业务场景只需要修改之后的值,这个模式也关不掉,而且传递原本的值,后端将会生效这个查询条件,影响原本业务场景了。希望增加一个关闭深合并模式的属性,走原本直接替换的逻辑。

⛰ 功能需求适用场景

大多属业务场景中,是不需要转换之前的值的,对于后端来说转换之前的值是无效数据。

🧐 解决方案

增加一个类似deepMergeOpen的开关,能够关闭深合并,只获取到转换后的值。

🚑 其他信息

@k4281613
Copy link
Author

image
标记的值对于后端来说是完全没有用的,假如有用将会影响原本查询结果

@Kadxy
Copy link

Kadxy commented May 27, 2024

I have encountered the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants