From 71d9414eea8a2aa2f1bb9cc8f23f0a69973269f5 Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Wed, 27 Mar 2024 15:28:24 +0800
Subject: [PATCH] 注册页面的客服地址错误

---
 src/page/authentication/index.vue |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/src/page/authentication/index.vue b/src/page/authentication/index.vue
index f5e83dd..28cfacc 100644
--- a/src/page/authentication/index.vue
+++ b/src/page/authentication/index.vue
@@ -157,7 +157,7 @@
 import { Toast } from "mint-ui";
 import { isNull, idCardReg, isName } from "@/utils/utils";
 import { compress } from "@/utils/imgupload";
-
+import apiUrl from "@/axios/api.url.js";
 export default {
   name: "bankCard",
   data() {
@@ -175,7 +175,7 @@
       img2Key: "",
       img3Key: "",
       showBtn: true,
-      admin: "",
+      admin: apiUrl.baseURL,
       imgStatus: false,
       imgStatus2: false,
       messFlag: this.$store.state.userInfo.isActive == 3 ? true : false,
@@ -195,11 +195,6 @@
     if (this.$state.theme == "red") {
       document.body.classList.remove("black-bg");
       document.body.classList.add("red-bg");
-    }
-    this.admin = process.env.API_HOST;
-    console.log(this.admin);
-    if (this.admin == undefined) {
-      this.admin = "https://api.guosen.org";
     }
   },
   methods: {
@@ -331,7 +326,7 @@
 <style scoped lang="less">
 .bank_card_page {
   width: 100%;
-  height: 100%;
+  // height: 100%;
   background: #fff;
   position: relative;
 

--
Gitblit v1.9.3