Method App\Admin\Controllers\GoodsSpecController::store does not exist.
Method App\Admin\Controllers\GoodsSpecController::update does not exist.
解决:
方法 1: 在头部添加使用方法
use Encore\Admin\Controllers\HasResourceActions;
使用方法:
use HasResourceActions;
解决方法 2:
添加两个方法
- public function update($id){
- return $this->form()->update($id);
- }
- public function store(){
- return $this->form()->store();
- }
来源: http://www.bubuko.com/infodetail-3303461.html