Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NewTruckTerminalSyetem
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SQL_Mou
NewTruckTerminalSyetem
Commits
e8979c00
Commit
e8979c00
authored
Apr 22, 2022
by
caicaicai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
cf3357ec
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
config.js
src/config.js
+2
-2
index.vue
src/views/MLargeScreen/components/voiceApplication/index.vue
+2
-2
vue.config.js
vue.config.js
+3
-3
No files found.
src/config.js
View file @
e8979c00
// 项目配置相关
// 项目配置相关
const
config
=
{
const
config
=
{
// BASE_URL: 'http://
192.168.9.2:8001
', //线上地址2
// BASE_URL: 'http://
8.143.203.103:9090
', //线上地址2
// REAL_URL: 'http://
192.168.9.2:8001
', //线上地址2
// REAL_URL: 'http://
8.143.203.103:9090
', //线上地址2
BASE_URL
:
'
http://192.168.0.110:8001
'
,
BASE_URL
:
'
http://192.168.0.110:8001
'
,
REAL_URL
:
'
http://192.168.0.110:8001
'
,
REAL_URL
:
'
http://192.168.0.110:8001
'
,
...
...
src/views/MLargeScreen/components/voiceApplication/index.vue
View file @
e8979c00
...
@@ -234,8 +234,8 @@ export default {
...
@@ -234,8 +234,8 @@ export default {
//初始化weosocket
//初始化weosocket
initWebSocket
(){
initWebSocket
(){
//const wsuri =
"ws://114.116.108.246:81/websocket/socketServer?userId="+userId;//连接地址,可加参数
//const wsuri =
'ws://8.143.203.103:9090/webSocket' + '/' + this.userName1;
const
wsuri
=
'
ws://
8.143.203.103:9090
/webSocket
'
+
'
/
'
+
this
.
userName1
;
const
wsuri
=
'
ws://
192.168.0.111:8001
/webSocket
'
+
'
/
'
+
this
.
userName1
;
this
.
websocket
=
new
WebSocket
(
wsuri
);
this
.
websocket
=
new
WebSocket
(
wsuri
);
this
.
websocket
.
onopen
=
this
.
websocketonopen
;
this
.
websocket
.
onopen
=
this
.
websocketonopen
;
this
.
websocket
.
onerror
=
this
.
websocketonerror
;
this
.
websocket
.
onerror
=
this
.
websocketonerror
;
...
...
vue.config.js
View file @
e8979c00
...
@@ -18,13 +18,13 @@ module.exports = {
...
@@ -18,13 +18,13 @@ module.exports = {
proxy
:
{
proxy
:
{
// '/dianziweilan': {
// '/dianziweilan': {
// target: 'http://
192.168.9.2:808
0'
// target: 'http://
8.143.203.103:909
0'
// },
// },
// '/auth': {
// '/auth': {
// target: 'http://
192.168.9.2:8001
',
// target: 'http://
8.143.203.103:9090
',
// },
// },
// '/pic': {
// '/pic': {
// target: 'http://
192.168.9.2
/avatar/',
// target: 'http://
8.143.203.103
/avatar/',
// pathRewrite: { '^/pic': '' },
// pathRewrite: { '^/pic': '' },
// changeOrigin: true,
// changeOrigin: true,
// },
// },
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment