feat: remove after save

This commit is contained in:
My-Responsitories
2025-08-21 20:48:04 +08:00
committed by bggRGjQaUbCoE
parent f50965862d
commit 47ad1adfdc
6 changed files with 81 additions and 57 deletions

View File

@@ -34,7 +34,7 @@ abstract class CommonPublishPageState<T extends CommonPublishPage>
late final RxBool readOnly = false.obs;
late final RxBool enablePublish = false.obs;
bool? hasPub;
bool hasPub = false;
void initPubState();
@override
@@ -57,7 +57,7 @@ abstract class CommonPublishPageState<T extends CommonPublishPage>
@override
void dispose() {
if (hasPub != true) {
if (!hasPub) {
onSave();
}
focusNode.dispose();