Parcourir la Source

Merge branch 'master' of http://192.168.1.222:3000/jiayi/base-callcenter-web

闪电 il y a 10 mois
Parent
commit
f66865fc20
2 fichiers modifiés avec 2 ajouts et 5 suppressions
  1. 2 2
      .env.staging
  2. 0 3
      src/components/main/msgModal/index.vue

+ 2 - 2
.env.staging

@@ -5,9 +5,9 @@ VITE_APP_TITLE = 12356心理援助热线
5 5
 VITE_APP_ENV = 'staging'
6 6
 
7 7
 # 若依管理系统/生产环境
8
-# VITE_APP_BASE_API = 'http://192.168.1.15:8010/'
8
+# VITE_APP_BASE_API = 'http://192.168.1.15:8010/'   
9 9
 
10
-VITE_APP_BASE_API = 'http://222.139.29.127:8120/'
10
+VITE_APP_BASE_API = 'http://1.194.161.64:8120/'
11 11
 # VITE_APP_BASE_API = 'http://39.164.159.226:8120/'
12 12
 
13 13
 # VITE_APP_BASE_WS = 'ws://192.168.1.19:9000/ws'

+ 0 - 3
src/components/main/msgModal/index.vue

@@ -25,14 +25,11 @@ const msgData = ref([]);
25 25
 
26 26
 // 获取消息
27 27
 const getMsg = function _f (){ 
28
-
29 28
 	getPageListData('/sms/getmsg' ).then(({data})=>{
30 29
 		msg.value = data[0] || 'null';
31 30
 		msgData.value = data.slice(1);
32 31
 	})
33
-
34 32
 	return _f;
35
-
36 33
 }();
37 34
 setInterval( getMsg , 1000 * 30 )
38 35