Skip to content

Commit

Permalink
Update home.component.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
jzy-chitong56 authored Sep 25, 2024
1 parent d7b7a82 commit 33102d0
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Electron/src/app/home/home.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class HomeComponent implements OnInit {
BJ_State: boolean = true;
isInteractive: boolean = true;
modeState: string = '-folder';
bjState: string = '';
bjState: string = '1';
message: string = '';

ngOnInit(): void {
Expand Down Expand Up @@ -136,6 +136,18 @@ export class HomeComponent implements OnInit {
this.bjState = this.BJ_State ? '' : '-noc';
console.log('BJ',this.bjState,this.BJ_State);
break;
case 'BJoption1':
this.bjState = '1';
console.log('BJ',this.bjState);
break;
case 'BJoption2':
this.bjState = '2';
console.log('BJ',this.bjState);
break;
case 'BJoption0':
this.bjState = '0';
console.log('BJ',this.bjState);
break;
}
};
}
Expand Down

0 comments on commit 33102d0

Please sign in to comment.