mirror of https://github.com/1Panel-dev/1Panel
style: 修改样式
parent
ffb0e72a5b
commit
4ae8e580b9
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue