From 92f970b972afd34f5eebeab38adbeae9ca84bcfd Mon Sep 17 00:00:00 2001 From: vine_liutk <961510893@qq.com> Date: Fri, 3 Dec 2021 17:55:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=B9=E9=87=8F=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E5=8A=A8=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Admin/Extensions/Grid/Tools/Product/BatchSkuVerify.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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()