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,搜索条件中,defaultValue 有值的时候, 无法清除默认值, 就是说search配置项中的defaultValue 有值, clearable设置为true, 虽然可以清除页面上显示的值, 但是搜索的时候, 默认值还会带上, #433

Open
mzcc666GtHb opened this issue May 24, 2024 · 7 comments

Comments

@mzcc666GtHb
Copy link

Uploading WechatIMG894.jpg…

@mzcc666GtHb
Copy link
Author


WechatIMG894

@mzcc666GtHb
Copy link
Author

WechatIMG895

@HalseySpicy
Copy link
Owner

下个版本加个可清除配置

@mzcc666GtHb
Copy link
Author

感谢答复, 期待, 目前有什么解决方案吗

@luckyjoke
Copy link

使用el-cascader也出现了同样问题

@Lin-Qin
Copy link

Lin-Qin commented Jul 10, 2024

感谢答复, 期待, 目前有什么解决方案吗

请问目前有解决方案了吗,我也碰到了同样的问题

@mzcc666GtHb
Copy link
Author

const getTableList = async (params: any) => {
return fetchApi({
...params,
...proTable.value.searchParam
});
};
暂时可以这样解决, 用 proTable.value.searchParam这个覆盖params,
这样就可以了

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

4 participants