GetPlatform
This commit is contained in:
@@ -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();
|
||||
Reference in New Issue
Block a user