style: 修改样式

pull/203/head
zhengkunwang223 2023-03-13 18:01:47 +08:00 committed by zhengkunwang223
parent ffb0e72a5b
commit 4ae8e580b9
2 changed files with 3 additions and 3 deletions

View File

@ -63,8 +63,8 @@ const onClose = () => {};
const initProcess = () => {
let href = window.location.href;
let protocol = href.split('//')[0] === 'http:' ? 'ws' : 'wss';
// let ipLocal = href.split('//')[1].split('/')[0];
processSocket = new WebSocket(`${protocol}://localhost:9999/api/v1/files/ws`);
let ipLocal = href.split('//')[1].split('/')[0];
processSocket = new WebSocket(`${protocol}://${ipLocal}/api/v1/files/ws`);
processSocket.onopen = onOpenProcess;
processSocket.onmessage = onMessage;
processSocket.onerror = onerror;

View File

@ -82,7 +82,7 @@
:underline="false"
@click="openConfig(row.id)"
>
<MsgInfo :info="row.primaryDomain" width="120" />
<MsgInfo :info="row.primaryDomain" width="300" />
</el-link>
</span>
</template>