去掉编辑器,后台报错
This commit is contained in:
@@ -5,7 +5,7 @@ use Encore\Admin\Form;
|
|||||||
use Encore\Admin\Grid;
|
use Encore\Admin\Grid;
|
||||||
|
|
||||||
//Form::forget(['map', 'editor']);
|
//Form::forget(['map', 'editor']);
|
||||||
Form::extend('editor', WangEditor::class);
|
//Form::extend('editor', WangEditor::class);
|
||||||
|
|
||||||
Form::init(function (Form $form) {
|
Form::init(function (Form $form) {
|
||||||
$form->disableEditingCheck();
|
$form->disableEditingCheck();
|
||||||
|
|||||||
@@ -47,7 +47,6 @@ class Log extends Model
|
|||||||
$table->text('in_source');
|
$table->text('in_source');
|
||||||
$table->string('type', 20)->index();
|
$table->string('type', 20)->index();
|
||||||
$table->text('out_source')->nullable();
|
$table->text('out_source')->nullable();
|
||||||
$table->string('coupon_no')->nullable();
|
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user