mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-10-22 13:55:23 +00:00
socket 调试
This commit is contained in:
34
electron-app/index.html
Normal file
34
electron-app/index.html
Normal file
@@ -0,0 +1,34 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="lib/vue.js"></script>
|
||||
<link rel="stylesheet" href="index.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<div>
|
||||
链接状态:{{status}}
|
||||
</div>
|
||||
<div v-show="webSocketInstance">
|
||||
<div style="display: flex;flex-direction: column;">
|
||||
<span>收到的消息:</span>
|
||||
<label>
|
||||
<textarea :value="recvMsg" style="width: 100%;height: 300px;"
|
||||
:class="{'recvMsgError':recvMsgError}">
|
||||
|
||||
</textarea>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div style="display: flex;flex-direction: column">
|
||||
<label>
|
||||
<textarea v-model="sendCode" class="sendCode"></textarea>
|
||||
</label>
|
||||
<div style="display: flex;flex-direction: row-reverse;">
|
||||
<button @click="onRunCmd">发送代码</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="./index.js"></script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user