1
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user