feat: 完善。
This commit is contained in:
parent
c56304a6ba
commit
f7b290dcbf
@ -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(),
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user