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

dcat-admin版本2.2.3 模态框弹出的表格中 使用行内修改提示路由不存在 有什么解决方案吗 #2139

Open
514586717 opened this issue Oct 11, 2024 · 1 comment

Comments

@514586717
Copy link

  • Laravel Version: 9.1.9
  • PHP Version: 8.0.2
  • Dcat Admin Version: 2.2.3

Description:

$grid->column('product_config')->display('查看')->modal('商品配置', function ($modal) {
return \App\Admin\Renderable\ProductTable::make(["goods_id"=>$this->id]);
});
像这样使用的modal弹出了一个表格 这个表格还是用grid来渲染的 里面的列使用行内修改不生效 select和switch这些统统都会提示路由不存在 有什么替代的方案吗

Steps To Reproduce:

@PorygonCN
Copy link
Collaborator

贴一下代码方便吗

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