You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
846 B
30 lines
846 B
<?php
|
|
|
|
/**
|
|
* Laravel-admin - admin builder based on Laravel.
|
|
* @author z-song <https://github.com/z-song>
|
|
*
|
|
* Bootstraper for Admin.
|
|
*
|
|
* Here you can remove builtin form field:
|
|
* Encore\Admin\Form::forget(['map', 'editor']);
|
|
*
|
|
* Or extend custom form field:
|
|
* Encore\Admin\Form::extend('php', PHPEditor::class);
|
|
*
|
|
* Or require js and css assets:
|
|
* Admin::css('/packages/prettydocs/css/styles.css');
|
|
* Admin::js('/packages/prettydocs/js/main.js');
|
|
*
|
|
*/
|
|
// sqc添加
|
|
use App\Admin\Extensions\Column\ExpandRow;
|
|
use Encore\Admin\Grid\Column;
|
|
use Encore\Admin\Form;
|
|
use App\Admin\Extensions\Form\WangEditor;
|
|
use App\Admin\Extensions\Form\AddSpecification;
|
|
Column::extend('expand', ExpandRow::class);
|
|
Form::forget(['map', 'editor']);
|
|
Form::extend('editor', WangEditor::class);
|
|
Form::extend('addSpecification', AddSpecification::class);
|