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'