| | |
| | | // 此处可以添加保存状态的逻辑,比如调用 API 更新数据
|
| | | };
|
| | | let socket = null;
|
| | | const socketUrl = `ws://${WebSocketHost}:${host}/api/glassStorage/api/talk/storageTask`;
|
| | | const socketUrl = `ws://${window.ipConfig.serverUrl}/api/glassStorage/api/talk/storageTask`;
|
| | | // 定义消息处理函数,更新 receivedData 变量
|
| | | const handleMessage = (data) => {
|
| | | // 更新 tableData 的数据
|
| | |
| | | }
|
| | | .img-ypcc {
|
| | | margin-left: 80px;
|
| | | background-image: url("../../assets/ypcc.png");
|
| | | background-image: url("/ypcc.png");
|
| | | background-repeat: no-repeat;
|
| | | background-attachment: local;
|
| | | min-height: 600px;
|
| | |
| | | margin-top: 0px;
|
| | | }
|
| | | .img-car1 {
|
| | | background-image: url("../../assets/ypccche.png");
|
| | | background-image: url("/ypccche.png");
|
| | | position: absolute;
|
| | | background-repeat: no-repeat;
|
| | | background-attachment: local;
|