fix(admin): add votes and stamps fields when creating new program
This commit is contained in:
@@ -337,6 +337,8 @@ async function saveProgram() {
|
|||||||
remark: programForm.value.remark,
|
remark: programForm.value.remark,
|
||||||
status: 'pending',
|
status: 'pending',
|
||||||
order: programs.length + 1,
|
order: programs.length + 1,
|
||||||
|
votes: 0,
|
||||||
|
stamps: [],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user