feat: 完善。

This commit is contained in:
Ivan Li 2022-11-22 20:07:46 +08:00
parent c56304a6ba
commit f7b290dcbf
2 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ impl MqttConnection {
Ok(now_str) => {
match client
.publish(
"screen-bg-light/desktop/last-online-at",
"screen-bg-light/desktop/online",
QoS::AtLeastOnce,
false,
now_str.as_bytes(),

View File

@ -30,9 +30,9 @@ function App() {
return (
<div>
<div className="flex justify-between h-1">
<div className="flex justify-between">
{ledStripColors.map((it) => (
<span className="h-1 flex-auto" style={{ backgroundColor: it }}></span>
<span className=" h-8 flex-auto" style={{ backgroundColor: it }}></span>
))}
</div>