mirror of https://gitee.com/karson/fastadmin.git
修复分类列表分类为空的BUG
parent
4217f56b1e
commit
438190e79f
|
|
@ -55,5 +55,4 @@
|
||||||
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
|
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</form>
|
</form>
|
||||||
|
|
|
||||||
|
|
@ -55,5 +55,4 @@
|
||||||
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
|
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</form>
|
</form>
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ class Category Extends Model
|
||||||
*/
|
*/
|
||||||
public static function getTypeList()
|
public static function getTypeList()
|
||||||
{
|
{
|
||||||
$typelist = config('site', 'categorytype');
|
$typelist = config('site.categorytype');
|
||||||
return $typelist;
|
return $typelist;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue