Skip to content

Commit d997dc7

Browse files
committed
🐛 修复后台脚本状态显示错误的问题
1 parent a2003a0 commit d997dc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/background/runtime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ export default class Runtime extends Manager {
378378
runStatus: item.runStatus,
379379
hasUserConfig: !!item.config,
380380
runNum:
381-
item.runStatus && item.runStatus !== SCRIPT_RUN_STATUS_RUNNING
381+
item.runStatus && item.runStatus === SCRIPT_RUN_STATUS_RUNNING
382382
? 1
383383
: 0,
384384
menus,

0 commit comments

Comments
 (0)