diff --git a/src/main/resources/web/assets/js/rb-forms.js b/src/main/resources/web/assets/js/rb-forms.js index d49a734c3..cac25d6b5 100644 --- a/src/main/resources/web/assets/js/rb-forms.js +++ b/src/main/resources/web/assets/js/rb-forms.js @@ -337,18 +337,7 @@ class RbForm extends React.Component { $.post('/app/entity/record-save', JSON.stringify(data), (res) => { $btns.button('reset') if (res.error_code === 0) { - const message = window.RbViewPage ? ( - $L('保存成功') - ) : ( - - {$L('保存成功')} - - {$L('打开')} - - - ) - RbHighbar.create(message, { type: 'success', timeout: 2000 }) - + RbHighbar.success($L('保存成功')) setTimeout(() => { this.props.$$$parent.hide(true) RbForm.postAfter({ ...res.data, isNew: !this.state.id }, next)