Dcat-admin 表单提交遇到问题

public function index(Content $content)
    {
        return $content
            ->title('类别管理')
            ->description('详情')
            ->body(function (Row $row){
                $row->column(7,new Card($this->grid()));
                $row->column(5,new Card($this->form()));
            });
    }
public function form()
    {
        return Form::make(new Category(), function (Form $form) {
            $form->display('id');
            ...
        });
    }

一个页面显示列表和表单的时候提交表单出现The POST method is not supported for this route. Supported methods: GET, HEAD. 的错误,路由显示域名/admin 但是 单页面提交没有问题, 刚开始学习,不知道怎么回事儿,有没有遇到同样问题的,怎么解决?

讨论数量: 2

这个还是找不到原因

2年前 评论

路由看看是不是any

2年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!