webman分頁要安裝分頁組件,很方便了。但每次用的時候都要實例化Paginator,還要去修改分頁器的樣式(默認Bootstrap)。但還是總覺得有點麻煩。 利用think-template的擴展模板標(biāo)簽庫免實例化Paginator 1、視圖使用think-template composer require topthink/think-template 2、修改配置config/view.php為 <?ph...
public static function get(string $key = null, mixed $default = null): mixed { if ($key === null) { return static::$config; } $keyArray = explode('.', $key); ...