|
@ -72,7 +72,9 @@ |
|
|
{literal} |
|
|
{literal} |
|
|
<script type="text/javascript"> |
|
|
<script type="text/javascript"> |
|
|
|
|
|
|
|
|
function submitForm() { |
|
|
function submitForm(e) { |
|
|
|
|
|
e.preventDefault(); // 阻止默认表单提交 |
|
|
|
|
|
|
|
|
const id = {/literal}{$id}{literal}; |
|
|
const id = {/literal}{$id}{literal}; |
|
|
const password = document.getElementById('password').value; |
|
|
const password = document.getElementById('password').value; |
|
|
const data = { |
|
|
const data = { |
|
|