src/Leevel/Session/Session.php
public function rebuildFlash(): void
    {
        $this->mergeNewFlash(
            $this->get($this->flashOldKey(), [])
        );

        $this->set($this->flashOldKey(), []);
    }
public function rebuildFlash(): void
    {
        $this->mergeNewFlash(
            $this->get($this->flashOldKey(), [])
        );

        $this->set($this->flashOldKey(), []);
    }
保持所有闪存数据.