更新按键
This commit is contained in:
parent
d7892375ce
commit
3678d3ef84
@ -155,7 +155,7 @@ const getSensorDataItems = (sensor) => {
|
|||||||
|
|
||||||
// 添加键盘事件处理函数
|
// 添加键盘事件处理函数
|
||||||
const handleKeyPress = (event) => {
|
const handleKeyPress = (event) => {
|
||||||
if (event.key.toLowerCase() === "l") {
|
if (event.key.toLowerCase() === "v") {
|
||||||
ElNotification({
|
ElNotification({
|
||||||
title: "设备状态更新",
|
title: "设备状态更新",
|
||||||
message: "设备已上线",
|
message: "设备已上线",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user