Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在继续执行基于 Web 的 MVP 模式实现中的任务之前,您将如何处理调用用户确认对话框?它必须在两者之间进行回发,并且确认将超出调用它的演示者函数的范围。我更愿意保持纯粹的 MVP 实现,但它甚至可能吗?
您无法在单个服务器端函数中实现此逻辑。我相信解决这个问题的标准方法是
或者