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

页面

parent d9540a39
......@@ -12,16 +12,13 @@ class App {
news: I18n<{title: string, url: string, image: string}[]>;
conference?: string;
data: any;
}
export class BrowserApp {
id: string;
name: I18n<string>;
parent?: string;
locales: string[];
news: I18n<{title: string, url: string, image: string}[]>;
conference?: string;
data: any;
// TODO: 实现进 Model 里
constructor(o: any) {
for (let [key, value] of Object.entries(o)) {
this[key] = value;
}
}
}
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