6
0
Fork 0
jiqu-library-server/app/Admin/Actions/Store/ImportProduct.php

21 lines
489 B
PHP

<?php
namespace App\Admin\Actions\Store;
use Dcat\Admin\Grid\Tools\AbstractTool;
use App\Admin\Actions\Form\ProductImportForm;
use Dcat\Admin\Widgets\Modal;
class ImportProduct extends AbstractTool
{
protected $title = '导入商品';
public function render()
{
$form = ProductImportForm::make(['is_store' => 1]);
return Modal::make()
->lg()
->title($this->title)
->body($form)
->button($this->html());
}
}