瀏覽代碼

配置文件修改

songxy 1 年之前
父節點
當前提交
11b7b3288b
共有 3 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      client/.env.pro
  2. 1 1
      client/src/views/OaSystem/home/index.vue
  3. 1 1
      client_h5/.env.pro

+ 2 - 2
client/.env.pro

@@ -4,10 +4,10 @@ NODE_ENV=production
 VITE_DEV=false
 
 # 请求路径
-VITE_BASE_URL='http://localhost:48080'
+VITE_BASE_URL='http://oa.zjugis.com:28080'
 
 # 上传路径
-VITE_UPLOAD_URL='http://localhost:48080/admin-api/infra/file/upload'
+VITE_UPLOAD_URL='http://oa.zjugis.com:28080/admin-api/infra/file/upload'
 
 # 接口前缀
 VITE_API_BASEPATH=

+ 1 - 1
client/src/views/OaSystem/home/index.vue

@@ -41,7 +41,7 @@ const roles = userStore.getRoles
 if (roles) {
   if (roles.indexOf('test_leader') != -1 || roles.indexOf('test_dept_manager') != -1) {
     //板块领导||部门经理
-    currentIndex.value = '2'
+    currentIndex.value = '1'
   } else {
     //普通员工
     currentIndex.value = '2'

+ 1 - 1
client_h5/.env.pro

@@ -1 +1 @@
-VITE_BASE_URL='http://10.10.10.7:48080/'
+VITE_BASE_URL='http://oa.zjugis.com:28080/'