WangDeer
WangDeer
正为这问题头疼呢,产品表下边有三个表,规格分组、规格、规格选项,跟正常的SKU有点区别,不知道怎么实现。 ```php Schema::create('products', function (Blueprint $table) { $table->increments('id'); $table->unsignedInteger('parent_category_id')->nullable()->index()->comment('父分类'); $table->unsignedInteger('category_id')->nullable()->index()->comment('分类'); $table->string('name')->nullable()->comment('名称'); $table->string('excerpt')->nullable()->comment('摘要'); $table->string('cover')->nullable()->comment('封面图'); $table->string('tips')->nullable()->comment('下单须知'); $table->longText('content')->nullable()->comment('内容'); $table->integer('order')->default(0)->comment('排序'); $table->boolean('status')->default(0)->comment('上架状态'); $table->timestamps(); $table->softDeletes(); }); DB::statement("ALTER TABLE `products` COMMENT '产品'"); ``` ```php Schema::create('spec_groups', function (Blueprint...
@attentive20 临时解决方案是把 `/vendor/dcat/laravel-admin/src/Grid.php` 中的 ```php public function __toString() { return $this->render(); } ``` 改为: ```php public function __toString() { return $this->render() ?? ''; } ``` 然后等新版本修复。
I met the same issue. versions:v2.1.1 vscode: Version: 1.56.2 Commit: 054a9295330880ed74ceaedda236253b4f39a335 Date: 2021-05-12T16:45:26.313Z Electron: 12.0.4 Chrome: 89.0.4389.114 Node.js: 14.16.0 V8: 8.9.255.24-electron.0 OS: Linux x64 5.6.11-050611-generic
> Which module are we talking about ? > > This is a mono repository containing: > > * vsc-base > * vsc-script > * vsc-scaffolding > * vsc-rename-files >...