ex';
        setTimeout(() => {
            errorBox.style.display = 'none';
        }, 2000);
    }
    // 获取页面传参
    function getQueryParams() {
        const params = {};
        const queryString = window.location.search.substring(1);
        const regex = /([^&=]+)=([^&]*)/g;
        let m;
        while ((m = regex.exec(queryString))) {
            params[decodeURIComponent(m[1])] = decodeURIComponent(m[2]);
        }
        return params;
    }

    var params;
    window.onload = functi