1
0

refactor: 修改 data.json 内容结构

This commit is contained in:
2024-03-13 13:16:08 +08:00
parent 2a9b8f3001
commit ca7d2130be
2 changed files with 315 additions and 313 deletions
+3 -1
View File
@@ -1,4 +1,5 @@
[
{
"timeline": [
{
"startTime": "2024-03-10 21:27",
"endTime": "2024-03-11 01:23",
@@ -310,3 +311,4 @@
"content": ""
}
]
}
+1 -1
View File
@@ -29,7 +29,7 @@ export function generateMarkdown() {
let tableRows = jsonMarkdown[0].table.rows;
let result = ''
jsonParsed.forEach((data) => {
jsonParsed.timeline.forEach((data) => {
tableRows.push([
data.startTime || '',
data.endTime || '',