replicate(); $new->status = 0; $new->save(); }); return $this->response()->success('复制菜单完成')->refresh(); } catch (\Exception $exception) { return $this->response()->error('复制菜单出错了')->refresh(); } } public function dialog() { $this->confirm('确定复制配置么?'); } }