✏️ 结构化数据类型分解 #51

This commit is contained in:
BTMuli
2023-12-08 13:10:09 +08:00
parent 1df568e26a
commit 0cb68dfe6f
3 changed files with 3 additions and 295 deletions

View File

@@ -198,7 +198,7 @@ function getRenderPost(data: TGApp.Plugins.Mys.Post.FullData): TGApp.Plugins.Mys
function parseContent(content: string): string {
const data: TGApp.Plugins.Mys.SctPost.Other = JSON.parse(content);
const result: TGApp.Plugins.Mys.SctPost.Common[] = [];
const result: TGApp.Plugins.Mys.SctPost.Base[] = [];
const keys = Object.keys(data);
keys.forEach((key) => {
switch (key) {