From d136a6fa385be6821f32f5e98d506bc851d40774 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Tue, 16 Jul 2024 10:01:13 +0800
Subject: [PATCH] 链接(移动端)链接替换,用户列表排版问题
---
.env.development | 2 +-
src/views/userlist/index.vue | 6 +++++-
.env.preview | 2 +-
src/views/dashboard/Workplace.vue | 2 +-
.env | 2 +-
5 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/.env b/.env
index bb40bc1..936a2b3 100644
--- a/.env
+++ b/.env
@@ -1,4 +1,4 @@
NODE_ENV=production
VUE_APP_PREVIEW=true
# VUE_APP_API_BASE_URL=http://www.ojwuf.com:8091/
-VUE_APP_API_BASE_URL=https://api.dfddgj346.xyz/
\ No newline at end of file
+VUE_APP_API_BASE_URL=https://api.pentagon-member.com/
\ No newline at end of file
diff --git a/.env.development b/.env.development
index e1e0725..3aa03fc 100644
--- a/.env.development
+++ b/.env.development
@@ -1,4 +1,4 @@
NODE_ENV=development
VUE_APP_PREVIEW=true
# VUE_APP_API_BASE_URL=http://www.ojwuf.com:8091/
-VUE_APP_API_BASE_URL=https://api.dfddgj346.xyz/
\ No newline at end of file
+VUE_APP_API_BASE_URL=https://api.pentagon-member.com/
\ No newline at end of file
diff --git a/.env.preview b/.env.preview
index c966235..1831c1b 100644
--- a/.env.preview
+++ b/.env.preview
@@ -1,3 +1,3 @@
NODE_ENV=production
VUE_APP_PREVIEW=true
-VUE_APP_API_BASE_URL=https://api.dfddgj346.xyz/
\ No newline at end of file
+VUE_APP_API_BASE_URL=https://api.pentagon-member.com/
\ No newline at end of file
diff --git a/src/views/dashboard/Workplace.vue b/src/views/dashboard/Workplace.vue
index 3f4b535..e476f53 100644
--- a/src/views/dashboard/Workplace.vue
+++ b/src/views/dashboard/Workplace.vue
@@ -291,7 +291,7 @@
if (res.status == 0) {
this.userdetail = res.data
// this.wapurl = location.protocol + '//' + location.host + '/#/register?agentCode=' + this.userdetail.agentCode
- var url = 'https://www.3falcon.com/#/register?agentCode=' + this.userdetail.agentCode
+ var url = 'https://pentagon-member.com/#/register?agentCode=' + this.userdetail.agentCode
// var url = 'https://www.rksv.one' + '/#/register?agentCode=' + this.userdetail.agentCode
this.wapurl = url.replace('agent.', '')
}
diff --git a/src/views/userlist/index.vue b/src/views/userlist/index.vue
index 3f9ab59..132fc55 100644
--- a/src/views/userlist/index.vue
+++ b/src/views/userlist/index.vue
@@ -184,7 +184,11 @@
dataIndex: 'userAmt',
align: 'center',
customRender: (text, row, index) => {
- return text.toFixed(2)
+ if(!text && text == null ){
+ return 0
+ }else{
+ return text.toFixed(2)
+ }
},
},
{
--
Gitblit v1.9.3