Commit 1aaf6a52 by zhouhaibao

修复点击bug

1 parent 5f46ce83
......@@ -378,7 +378,8 @@
mType.addEventListener('change', onTypeChange);
document.getElementById('btnCancel').onclick = closeModal;
document.getElementById('modalClose').onclick = closeModal;
modal.addEventListener('click', function (e) { if (e.target === modal) closeModal(); });
// 不移除:点击弹窗外区域不关闭弹窗,只能通过取消按钮或关闭按钮关闭
// modal.addEventListener('click', function (e) { if (e.target === modal) closeModal(); });
document.getElementById('btnSubmit').onclick = collectAndSubmit;
// ---------- 初始化:先校验登录,再加载页面数据 ----------
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!