This commit is contained in:
田岩
2025-07-24 08:51:35 +08:00
parent 212bfaf420
commit e86f959c50
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -20,6 +20,7 @@ function show(title, msg, showCancel = true, cancelText = '取消', confirmText
confirmText,
success: (res) => {
// 统一处理成功回调,解析为布尔值
console.log('res.confirm', res.confirm);
resolve(!!res.confirm);
}
};