fixed exceedingly long id name in row

This commit is contained in:
huangjx
2022-02-26 20:57:43 +08:00
parent e8d1b9e263
commit ea07560b5e

View File

@@ -85,7 +85,7 @@ class contentTable {
let name = key.replace("_", "-");
if (typeof element[key] == "string") {
row.setAttribute(name, (<string>element[key]));
row.setAttribute("id", (<string>element[key]));
row.setAttribute("id", key);
}
continue;
}