fix: 日历计划无法重复新增的问题

This commit is contained in:
xiaozzzi 2023-12-27 21:28:35 +08:00
parent 3a0c53f42e
commit 3b71b0aab5
2 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,7 @@
top="60px"
style="margin-left: 300px"
:append-to-body="true"
:destroy-on-close="false"
:destroy-on-close="true"
:close-on-click-modal="true"
draggable>
<PlanDailyInfo @saved="savedCallback"></PlanDailyInfo>

View File

@ -130,6 +130,7 @@ const saveDaily = async (formEl: FormInstance | undefined) => {
const imgs = [
{ name: 'base-awesome.png', url: getImg('base-awesome.png') },
{ name: 'base-celebrate.png', url: getImg('base-celebrate.png') },
{ name: 'base-cool.png', url: getImg('base-cool.png') },
{ name: 'base-learning.png', url: getImg('base-learning.png') },
{ name: 'cat-kiss.png', url: getImg('cat-kiss.png') },