From c29b47868aa11106393444724493483bd3bb2c77 Mon Sep 17 00:00:00 2001
From: kun <1422840143@qq.com>
Date: Mon, 12 Jun 2023 19:28:18 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.production | 4 ++--
src/views/goverment/naturalResources/index.vue | 7 ++-----
.../qualitySupervision/components/orderAdd.vue | 10 +++++-----
.../qualitySupervision/components/transformInfo.vue | 2 +-
.../safetySupervision/components/transformInfo.vue | 2 +-
5 files changed, 11 insertions(+), 14 deletions(-)
diff --git a/.env.production b/.env.production
index ac3fb62..7a920ab 100644
--- a/.env.production
+++ b/.env.production
@@ -3,8 +3,8 @@ NODE_ENV = "production"
# 线上环境接口地址(easymock)
# VITE_API_URL = "http://139.9.66.234:6688"
-VITE_API_URL = "http://182.90.224.147:6688"
-# VITE_API_URL = "http://101.43.164.214:6688"
+# VITE_API_URL = "http://182.90.224.147:6688"
+VITE_API_URL = "http://101.43.164.214:6688"
# VITE_API_URL = "https://wx.antjg.com:6081/"
# 打包
diff --git a/src/views/goverment/naturalResources/index.vue b/src/views/goverment/naturalResources/index.vue
index 75d406f..52c40ba 100644
--- a/src/views/goverment/naturalResources/index.vue
+++ b/src/views/goverment/naturalResources/index.vue
@@ -1,11 +1,7 @@
-
+
@@ -16,6 +12,7 @@ import { GlobalStore } from "@/stores";
onBeforeMount(() => {
getToken();
});
+const baseUrl = import.meta.env.VITE_API_URL;
const token = ref("");
const getToken = () => {
const globalstore = GlobalStore();
diff --git a/src/views/goverment/qualitySupervision/components/orderAdd.vue b/src/views/goverment/qualitySupervision/components/orderAdd.vue
index b8f8f5d..078b110 100644
--- a/src/views/goverment/qualitySupervision/components/orderAdd.vue
+++ b/src/views/goverment/qualitySupervision/components/orderAdd.vue
@@ -90,7 +90,7 @@
施工单位: