Compare commits

..

No commits in common. "master" and "v0.0.1" have entirely different histories.

View File

@ -34,7 +34,7 @@ export default function WolItem(props) {
return;
}
socket.sendMessage('start', {mac}, function () { toast.success('已经发送') })
}, mac);
}, []);
const deleteItem = useCallback(() => {
// socket.sendMessage('del', {id}, function () { updata() })
socket.sendMessage('del', {id}, function () { dispatch(delitem(id));socket.sendMessage('getall', '', function (eve) { dispatch(wolupdata(eve.data[0]));handleOpen() }) })