From 74bcf0374dad94d352b68f10e2e3d6e0ebc2c9dc Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Sun, 07 Apr 2024 12:32:13 +0800
Subject: [PATCH] 1
---
src/page/authentication/index.vue | 17 ++++++-----------
1 files changed, 6 insertions(+), 11 deletions(-)
diff --git a/src/page/authentication/index.vue b/src/page/authentication/index.vue
index f5e83dd..d733053 100644
--- a/src/page/authentication/index.vue
+++ b/src/page/authentication/index.vue
@@ -38,7 +38,7 @@
<input v-if="!showBtn" type="text" v-model="form.idCard" readonly />
</div>
</div>
- <div class="bank_name">
+ <!-- <div class="bank_name">
<div class="lefts">
<span>{{ "Vaild Number" + ":" }}</span>
</div>
@@ -56,7 +56,7 @@
readonly
/>
</div>
- </div>
+ </div> -->
<div class="uploads">
<div class="lefts">
<el-upload
@@ -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: {
@@ -237,7 +232,7 @@
},
async getUserInfo() {
// 获取用户信息
- let data = await api.getUserInfo();
+ let data = await api.getUserInfodata();
if (data.status === 0) {
// 判断是否登录
this.$store.commit("dialogVisible", false);
@@ -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