refactor: 修改 data.json 内容结构
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
[
|
||||
{
|
||||
"timeline": [
|
||||
{
|
||||
"startTime": "2024-03-10 21:27",
|
||||
"endTime": "2024-03-11 01:23",
|
||||
@@ -310,3 +311,4 @@
|
||||
"content": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
+1
-1
@@ -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 || '',
|
||||
|
||||
Reference in New Issue
Block a user