This commit is contained in:
zhutao
2025-09-10 09:37:08 +08:00
parent 3df6e3d49e
commit 5f088b19c0
2 changed files with 17 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ class PlanDetailStore extends ChangeNotifier {
}) {
//如果没有id进行初始化
if (planId == 0) {
isNew = true;
createPlan();
} else {
//获取详情
@@ -36,6 +37,9 @@ class PlanDetailStore extends ChangeNotifier {
///计划的内容,只有新增时才会有
String planContent = "";
///是否是新增
bool isNew = false;
///计划id
int planId;