'. admin_trans_label('audit'); } public function render() { $form = ProductAuditForm::make()->payload(['id' => $this->getKey()]); // 实例化表单类 return Modal::make() ->lg() ->title($this->title) ->body($form) // 因为此处使用了表单异步加载功能,所以一定要用 onLoad 方法 ->button($this->title()); } }