GetPlatform

This commit is contained in:
josc146
2023-05-29 21:15:11 +08:00
parent da033ab096
commit deb9e030cb
2 changed files with 7 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ class CommonStore {
device_name: 'CPU'
};
depComplete: boolean = false;
platform: string = 'windows';
// home
introduction: IntroductionContent = manifest.introduction;
// chat
@@ -168,6 +169,10 @@ class CommonStore {
setCompletionGenerating(value: boolean) {
this.completionGenerating = value;
}
setPlatform(value: string) {
this.platform = value;
}
}
export default new CommonStore();