fix: article/upsert在点击保存按钮时更新article的content

This commit is contained in:
lxy 2025-11-03 10:50:00 +08:00
parent 706ea27664
commit f66fc76c01
2 changed files with 6 additions and 0 deletions

View File

@ -155,6 +155,9 @@ export default function Render(props) {
<div className={Style.footer}>
<Space>
<Button disabled={oakLoading || oakExecuting || !(data.name && data.name.length > 0 && html && html.length > 0 && html !== '<p><br></p>')} type="primary" onClick={() => {
update({
content: html,
});
check();
}}>
保存

View File

@ -333,6 +333,9 @@ export default function Render(
disabled={oakLoading || oakExecuting || !(data.name && data.name.length > 0 && html && html.length > 0 && html !== '<p><br></p>')}
type="primary"
onClick={() => {
update({
content: html,
})
check();
}}
>