去掉编辑器,后台报错

This commit is contained in:
2022-02-14 16:37:32 +08:00
parent 6b8b73bda5
commit f848c4fee5
2 changed files with 1 additions and 2 deletions

View File

@@ -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();

View File

@@ -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();
}); });
} }