6
0
Fork 0

修改批量审核动作

release
vine_liutk 2021-12-03 17:55:39 +08:00
parent a06a45cdee
commit 92f970b972
1 changed files with 3 additions and 3 deletions

View File

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