feat: 完善。
This commit is contained in:
parent
c56304a6ba
commit
f7b290dcbf
@ -42,7 +42,7 @@ impl MqttConnection {
|
|||||||
Ok(now_str) => {
|
Ok(now_str) => {
|
||||||
match client
|
match client
|
||||||
.publish(
|
.publish(
|
||||||
"screen-bg-light/desktop/last-online-at",
|
"screen-bg-light/desktop/online",
|
||||||
QoS::AtLeastOnce,
|
QoS::AtLeastOnce,
|
||||||
false,
|
false,
|
||||||
now_str.as_bytes(),
|
now_str.as_bytes(),
|
||||||
|
@ -30,9 +30,9 @@ function App() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<div className="flex justify-between h-1">
|
<div className="flex justify-between">
|
||||||
{ledStripColors.map((it) => (
|
{ledStripColors.map((it) => (
|
||||||
<span className="h-1 flex-auto" style={{ backgroundColor: it }}></span>
|
<span className=" h-8 flex-auto" style={{ backgroundColor: it }}></span>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user