fix: 进度条平滑过渡 — force reflow 技巧确保 CSS transition 生效
- 临时关 transition → 设旧值 → offsetWidth reflow → 开 transition → 设新值 - DOM 复用: 首次 innerHTML 创建, 后续只改属性 - 进度条从旧值滑到新值, 不再闪现 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -262,5 +262,27 @@
|
||||
"framework.command.execute"
|
||||
],
|
||||
"timestamp": 27544.2709947
|
||||
},
|
||||
"29ffcf99": {
|
||||
"plugin_name": "example_plugin",
|
||||
"permissions": [
|
||||
"plugin.example.read",
|
||||
"plugin.example.write",
|
||||
"plugin.example.execute",
|
||||
"framework.event.subscribe",
|
||||
"framework.command.execute"
|
||||
],
|
||||
"timestamp": 27821.237625479
|
||||
},
|
||||
"bd46f35e": {
|
||||
"plugin_name": "sentinel",
|
||||
"permissions": [
|
||||
"plugin.sentinel.read",
|
||||
"plugin.sentinel.write",
|
||||
"plugin.network.access",
|
||||
"framework.event.subscribe",
|
||||
"framework.command.execute"
|
||||
],
|
||||
"timestamp": 27821.239961313
|
||||
}
|
||||
}
|
||||
@@ -101,7 +101,7 @@ commands:
|
||||
permissions:
|
||||
- framework.command.test
|
||||
source: internal
|
||||
last_updated: 27544.226537616
|
||||
last_updated: 27821.221132094
|
||||
plugin_commands:
|
||||
example_plugin:
|
||||
echo: *id001
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
http_port: 4200
|
||||
last_updated: 27544.261331002
|
||||
last_updated: 27821.238246209
|
||||
plugin_routes:
|
||||
example_plugin:
|
||||
- methods:
|
||||
|
||||
Reference in New Issue
Block a user