modified: public/script.js

This commit is contained in:
IrisVega 2024-07-13 09:54:52 +08:00
parent 0c6770d5ae
commit 3331aa1d7f

View File

@ -13,7 +13,6 @@ $(document).ready(function() {
$('#form1').submit(function(event) {
event.preventDefault();
const username = $('#register-username').val().trim();
const email = $('#register-email').val().trim(); // 不用于后台,只是前端展示
const password = $('#register-password').val().trim();
if (!username || !password) {