fix: 存为我的提示框改用自定义 CustomDialog #11
Reference in New Issue
Block a user
Delete Branch "fix/save-to-diary-custom-dialog"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
关联 issue #10
改动
将
RecipeDetailOverlay.vue中saveToDiary()里的原生window.prompt()替换为项目已有的showPrompt()(来自composables/useDialog.js),弹窗样式与全站一致:圆角卡片、渐变绿色按钮、半透明遮罩。import { showPrompt } from '../composables/useDialog'const name = await showPrompt(...)替换const name = prompt(...)🚀 Preview: https://pr-11.oil.oci.euphon.net
DB is a copy of production.
🚀 Preview: https://pr-11.oil.oci.euphon.net
DB is a copy of production.
🗑️ Preview torn down.
Pull request closed