mirror of
https://github.com/xiaoshi930/xiaoshi-pad-card.git
synced 2025-11-29 09:09:47 +00:00
Update xiaoshi-device-ha-info-card.js
This commit is contained in:
@@ -981,6 +981,10 @@ export class XiaoshiHaInfoCard extends LitElement {
|
|||||||
|
|
||||||
if (confirmed) {
|
if (confirmed) {
|
||||||
this._executeUpdate(update);
|
this._executeUpdate(update);
|
||||||
|
// 延迟3秒后刷新数据,给更新操作足够时间完成
|
||||||
|
setTimeout(() => {
|
||||||
|
this._loadUpdateData();
|
||||||
|
}, 1000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user