Uncaught TypeError: upload is not a function at HTMLInputElement.onclick
js 中标签的id名称不能和方法名一样,
<tr>
<td><input type="button" id="login" value="登录 " onclick="loginuser()"/></td>
<td><input type="button" name = "register" value="注册"/></td>
</tr>

浙公网安备 33010602011771号