mirror of
https://gitee.com/xiongmao1988/rax-medical.git
synced 2025-08-24 13:04:57 +08:00
添加按钮
This commit is contained in:
parent
49359fc86e
commit
e69a6c9e01
|
@ -42,7 +42,7 @@
|
||||||
</el-text>
|
</el-text>
|
||||||
</el-space>
|
</el-space>
|
||||||
<el-button color="#C77000" @click="viewPatientInfo">患者信息</el-button>
|
<el-button color="#C77000" @click="viewPatientInfo">患者信息</el-button>
|
||||||
<el-button type="text" color="#C77000">ping:{{timeDiffPing}}</el-button>
|
<el-button type="text" color="#C77000">当前延迟:{{timeDiffPing}}ms</el-button>
|
||||||
<el-button color="#C77000" @click="connectionUnity('1')" v-if="!whetherControl">连接远程控制</el-button>
|
<el-button color="#C77000" @click="connectionUnity('1')" v-if="!whetherControl">连接远程控制</el-button>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<el-button color="#C77000">已控制</el-button>
|
<el-button color="#C77000">已控制</el-button>
|
||||||
|
|
|
@ -24,16 +24,16 @@ export default defineConfig({
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
// target: 'http://localhost:9999', // 目标服务器地址
|
// target: 'http://localhost:9999', // 目标服务器地址
|
||||||
target: 'http://localhost:6379', // 目标服务器地址
|
//target: 'http://localhost:6379', // 目标服务器地址
|
||||||
// target: 'http://110.41.142.124:6379', // 目标服务器地址
|
target: 'http://110.41.142.124:6379', // 目标服务器地址
|
||||||
ws: true, // 是否启用 WebSocket
|
ws: true, // 是否启用 WebSocket
|
||||||
changeOrigin: true, // 是否修改请求头中的 Origin 字段
|
changeOrigin: true, // 是否修改请求头中的 Origin 字段
|
||||||
rewrite: (path) => path.replace(/^\/api/, ''),
|
rewrite: (path) => path.replace(/^\/api/, ''),
|
||||||
},
|
},
|
||||||
'/socket.io': {
|
'/socket.io': {
|
||||||
// target: 'ws://localhost:9999',
|
// target: 'ws://localhost:9999',
|
||||||
target: 'ws://localhost:6379',
|
//target: 'ws://localhost:6379',
|
||||||
// target: 'ws://110.41.142.124:6379',
|
target: 'ws://110.41.142.124:6379',
|
||||||
ws: true,
|
ws: true,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (path) => path.replace(/^\/socket.io/, ''),
|
rewrite: (path) => path.replace(/^\/socket.io/, ''),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user