From 7484b00c88bde544100841023c514c82bd7e8781 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Thu, 8 May 2025 21:16:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E7=94=9F=E4=BA=A7?= =?UTF-8?q?=E7=8E=AF=E5=A2=83API=E5=9C=B0=E5=9D=80=E5=B9=B6=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=E6=B3=A8=E5=86=8C=E9=A1=B5=E9=9D=A2=E8=B4=A6=E5=8F=B7?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新生产环境的API地址为最新版本,并修正注册页面中账号验证的正则表达式,确保账号必须包含字母 --- config.js | 3 ++- pages/register/register.vue | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config.js b/config.js index 4b59f78..c6f092a 100644 --- a/config.js +++ b/config.js @@ -17,7 +17,8 @@ const config = { prod : { // baseUrl : 'https://uav-api.xzaiyp.top/uav-api', // baseUrl : 'https://api.olxbookbub.top/uav-oxl-api',//国外服务器 - baseUrl : 'https://api.oxlbook.top/uav-oxl-api',//国外服务器第二版 2024-12-14 + // baseUrl : 'https://api.oxlbook.top/uav-oxl-api',//国外服务器第二版 2024-12-14 + baseUrl : 'https://api.oxlking.com/uav-oxl-api/',//国外服务器第三版 2025-5-8 }, } diff --git a/pages/register/register.vue b/pages/register/register.vue index d0b223f..2a4ef0b 100644 --- a/pages/register/register.vue +++ b/pages/register/register.vue @@ -88,7 +88,7 @@ register() { //效验账号,必须包含字母 - if (!/[A-Za-z]+$/.test(this.form.account)) { + if (!/[A-Za-z]/.test(this.form.account)) { uni.showToast({ title: this.$t('page.register.accountError'), icon: 'none'