Skip to content

可运行方案

方案05:危险操作与确认

归档动作需要真人决定。拒绝时记录不变;允许时才执行一次业务函数并留下结果。

独立页面 · 可交互在新窗口打开
运行pnpm dev:examples源码 examples/demos/recipe-danger-confirm/页面 https://plingjs.dev/demos/recipe-danger-confirm/?lang=zh
以下页面直接连接同一套业务代码与本地服务。