From 45792b3776cda2e1ada31755ffc226a663f90b48 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 19 三月 2025 15:32:23 +0800
Subject: [PATCH] 锁屏功能
---
src/main.js | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/main.js b/src/main.js
index f6ae7f3..f11e21f 100644
--- a/src/main.js
+++ b/src/main.js
@@ -51,6 +51,7 @@
import Moment from "moment";
import basicContainer from './components/basic-container/main'
+
// 鍏ㄥ眬鏂规硶鎸傝浇
Vue.prototype.getDicts = getDicts;
Vue.prototype.getConfigKey = getConfigKey;
@@ -65,9 +66,9 @@
Vue.prototype.HaveJson = (val) => {
return JSON.parse(JSON.stringify(val));
};
-Vue.prototype.javaApi = process.env.VUE_APP_BASE_API
- ? process.env.VUE_APP_BASE_API
- : "http://192.168.0.104:8002";
+Vue.prototype.javaApi = process.env.VUE_BASE_URL
+ ? process.env.VUE_BASE_URL
+ : "http://127.0.0.1:8002";
Vue.prototype.checkPermi = checkPermi;
Vue.prototype.uploadHeader = {
Authorization: "Bearer " + getToken(),
--
Gitblit v1.9.3