1
This commit is contained in:
@@ -20,6 +20,7 @@ function show(title, msg, showCancel = true, cancelText = '取消', confirmText
|
||||
confirmText,
|
||||
success: (res) => {
|
||||
// 统一处理成功回调,解析为布尔值
|
||||
console.log('res.confirm', res.confirm);
|
||||
resolve(!!res.confirm);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user