mirror of https://github.com/1Panel-dev/1Panel
style: 修改样式
parent
ffb0e72a5b
commit
4ae8e580b9
|
@ -63,8 +63,8 @@ const onClose = () => {};
|
||||||
const initProcess = () => {
|
const initProcess = () => {
|
||||||
let href = window.location.href;
|
let href = window.location.href;
|
||||||
let protocol = href.split('//')[0] === 'http:' ? 'ws' : 'wss';
|
let protocol = href.split('//')[0] === 'http:' ? 'ws' : 'wss';
|
||||||
// let ipLocal = href.split('//')[1].split('/')[0];
|
let ipLocal = href.split('//')[1].split('/')[0];
|
||||||
processSocket = new WebSocket(`${protocol}://localhost:9999/api/v1/files/ws`);
|
processSocket = new WebSocket(`${protocol}://${ipLocal}/api/v1/files/ws`);
|
||||||
processSocket.onopen = onOpenProcess;
|
processSocket.onopen = onOpenProcess;
|
||||||
processSocket.onmessage = onMessage;
|
processSocket.onmessage = onMessage;
|
||||||
processSocket.onerror = onerror;
|
processSocket.onerror = onerror;
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
:underline="false"
|
:underline="false"
|
||||||
@click="openConfig(row.id)"
|
@click="openConfig(row.id)"
|
||||||
>
|
>
|
||||||
<MsgInfo :info="row.primaryDomain" width="120" />
|
<MsgInfo :info="row.primaryDomain" width="300" />
|
||||||
</el-link>
|
</el-link>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue