diff --git a/app/Admin/Extensions/Grid/Tools/Product/BatchSkuVerify.php b/app/Admin/Extensions/Grid/Tools/Product/BatchSkuVerify.php index 0b60adf0..eb4e8277 100644 --- a/app/Admin/Extensions/Grid/Tools/Product/BatchSkuVerify.php +++ b/app/Admin/Extensions/Grid/Tools/Product/BatchSkuVerify.php @@ -16,7 +16,7 @@ class BatchSkuVerify extends BatchAction public function title() { if ($this->title) { - return $this->title.' '.__('admin_message.extensions.grid.batch.sku_verify'); + return '     '.$this->title.' '.__('admin_message.extensions.grid.batch.sku_verify'); } return __('admin_message.extensions.grid.batch.sku_verify'); @@ -40,12 +40,12 @@ class BatchSkuVerify extends BatchAction return Modal::make() ->lg() - ->title($this->title) + ->title($this->title()) ->body($form) // 因为此处使用了表单异步加载功能,所以一定要用 onLoad 方法 // 如果是非异步方式加载表单,则需要改成 onShow 方法 ->onLoad($this->getModalScript()) - ->button($this->title); + ->button($this->title()); } protected function getModalScript()