Commit 07fe2133 by xinla

阻止表单默认提交行为

1 parent c4d8d91c
......@@ -112,6 +112,11 @@ document.addEventListener('click', (event) => {
}
})
// 阻止表单默认提交行为
document.addEventListener('submit', (event) => {
event.preventDefault()
})
// 统一为img的src不是绝对地址的拼接接口地址
// document.addEventListener(
// 'error',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!