                 Swal.fire("安装过程中出现异常", "请检查你的设置，重新提交。<br />详细信息：" + reason.message, "error");
                    });
                }

                // 检查是否为 docker 环境
                let body = `driver=mysql&host=172.28.0.2&user=root&pass=root&name=bdwp`;
                postAPI('test_db_connect', body).then(function(response) {
                    if (response.success) {
                        const data = response.data;
           