Skip to content

Commit d888339

Browse files
authored
修复判断是否编辑bug
1 parent 7bdc948 commit d888339

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Traits/HasApiCreate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ trait HasApiCreate
2424
*/
2525
public function _self_path()
2626
{
27-
return $this->form(true)->store();
27+
return $this->form(false)->store();
2828
}
2929

3030
/**
@@ -35,6 +35,6 @@ public function create()
3535
{
3636
$content = new Content();
3737
//这里必须这样写
38-
return $content->body($this->form())->className('m-10');
38+
return $content->body($this->form(false))->className('m-10');
3939
}
4040
}

0 commit comments

Comments
 (0)