diff --git a/src/axios/fetch.js b/src/axios/fetch.js index c886ce0..5dd43f3 100644 --- a/src/axios/fetch.js +++ b/src/axios/fetch.js @@ -1,7 +1,7 @@ import axios from 'axios' export const api = axios.create({ - // baseURL: 'https://yg.canary.moe/v1/admin/', + // baseURL: 'https://tracer.lacus.site/v1/admin/', baseURL: window.location.origin + '/v1/admin/', headers: { 'Content-Type': 'application/json', diff --git a/src/views/Clear/Clear.vue b/src/views/Clear/Clear.vue index 426b2e4..e16fc03 100644 --- a/src/views/Clear/Clear.vue +++ b/src/views/Clear/Clear.vue @@ -18,7 +18,7 @@ > - + @@ -99,7 +99,7 @@ export default { } this.id = this.id.trim(); // 格式校验 - if (!/\d{17}/.test(this.id)) { + if (!/\d{16}/.test(this.id)) { console.log("数据格式校验失败"); this.message("请输入正确的id"); return; diff --git a/src/views/Verify/verify.vue b/src/views/Verify/verify.vue index 37bb760..07e06cd 100644 --- a/src/views/Verify/verify.vue +++ b/src/views/Verify/verify.vue @@ -32,7 +32,7 @@ - +