作者 Karson

修复分类列表分类为空的BUG

... ... @@ -55,5 +55,4 @@
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
</div>
</div>
</div>
</form>
... ...
... ... @@ -55,5 +55,4 @@
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
</div>
</div>
</div>
</form>
... ...
... ... @@ -25,7 +25,7 @@ class Category Extends Model
*/
public static function getTypeList()
{
$typelist = config('site', 'categorytype');
$typelist = config('site.categorytype');
return $typelist;
}
... ...