Commit e3beef23 authored by 神楽坂玲奈's avatar 神楽坂玲奈

页面

parent d9540a39
...@@ -12,16 +12,13 @@ class App { ...@@ -12,16 +12,13 @@ class App {
news: I18n<{title: string, url: string, image: string}[]>; news: I18n<{title: string, url: string, image: string}[]>;
conference?: string; conference?: string;
data: any; data: any;
}
export class BrowserApp { // TODO: 实现进 Model 里
id: string; constructor(o: any) {
name: I18n<string>; for (let [key, value] of Object.entries(o)) {
parent?: string; this[key] = value;
locales: string[]; }
news: I18n<{title: string, url: string, image: string}[]>; }
conference?: string;
data: any;
} }
export default App; export default App;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment