Commit 227abe88 by zhangxw Committed by 张立顺

合并 v4.38.0 后续提交代码

1 parent 7c69d4de
......@@ -489,23 +489,9 @@ Page({
});
});
},
addModalToQueue(
title,
content,
confirmText,
showCancel,
priority,
eventCallback
) {
modalQueue.push({
title,
content,
confirmText,
showCancel,
priority,
eventCallback,
});
modalQueue.sort((a, b) => a.priority - b.priority);
addModalToQueue(title, content, confirmText, showCancel, priority, eventCallback, isShowNext) {
if (modalQueue.findIndex(val => val.content == content) < 0) modalQueue.push({ title, content, confirmText, showCancel, priority, eventCallback, isShowNext });
modalQueue.sort((a, b) => a.priority - b.priority)
},
showNextModal() {
let _this = this;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!