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

[Bug]: 列表视图组件crudDataFilter属性中如果有amis表达式会出问题 #496

Open
yinlianghui opened this issue Oct 22, 2023 · 0 comments
Labels

Comments

@yinlianghui
Copy link
Contributor

Description

如图所示,把crud的crudDataFilter属性值配置为:

crud.card.itemAction = {
  "actionType": "link",
  "link": "/app/admin/steedos_packages/view/${_id}"
}

return crud;

最后生成的curd schema中itemAction会变成,即在生成crud schema的时候会事先执行amis表达式

{
  "actionType": "link",
  "link": "/app/admin/steedos_packages/view/"
}
image

Steps To Reproduce 重现步骤

按上述描述的示例一样,只要在任务一个对象列表微页面中配置了crud的crudDataFilter属性,并且该属性值中有amis表达式就会有问题

Version 版本

2.5.x

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

No branches or pull requests

1 participant