fix startup status detect

This commit is contained in:
josc146
2023-05-25 00:51:45 +08:00
parent 5729d9fc62
commit 6f629dbc55
6 changed files with 24 additions and 24 deletions

View File

@@ -20,7 +20,7 @@ export enum ModelStatus {
}
export type Status = {
modelStatus: ModelStatus;
status: ModelStatus;
pid: number;
device_name: string;
}
@@ -28,7 +28,7 @@ export type Status = {
class CommonStore {
// global
status: Status = {
modelStatus: ModelStatus.Offline,
status: ModelStatus.Offline,
pid: 0,
device_name: 'CPU'
};