Skip to content

Commit 2d93e85

Browse files
committed
修复 表单 自定义动作重复渲染
1 parent a070734 commit 2d93e85

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/Form/FormActions.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,7 @@ public function builderActions()
128128
{
129129
$addLeftActions = collect($this->addLeftActions);
130130
$addRightActions = collect($this->addRightActions);
131-
foreach ($this->addLeftActions as $addLeftAction) {
132-
$addLeftActions->add($addLeftAction);
133-
}
134-
foreach ($this->addRightActions as $addRightAction) {
135-
$addRightActions->add($addRightAction);
136-
}
131+
137132

138133
$cancelButton = null;
139134

0 commit comments

Comments
 (0)