Commit 53356a67 by Lin

重构 workspace.js 中的模态框显示逻辑,以确保在显示警告时能够正确管理状态。

1 parent a28a7d31
...@@ -195,9 +195,9 @@ Page({ ...@@ -195,9 +195,9 @@ Page({
// 根据类型取到对应的值 // 根据类型取到对应的值
const { message, ...dialogParams } = dialogOptions[serviceCenterEnum][noticeItem.reminderType || 1]; const { message, ...dialogParams } = dialogOptions[serviceCenterEnum][noticeItem.reminderType || 1];
// that.setData({ that.setData({
// isShowingModal: true, isShowingModal: true,
// }); });
try { try {
await Dialog.alert({ await Dialog.alert({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!