Closed Steven-AA closed 2 years ago
dataviewjs的代码用的是Project Tracking.md
里的,最新的
试出来了,我漏掉了groupedCount:: true
, 但这个是必要的吗?toTheProgressBar
是不是应该在 if (groupedCount)
外面执行?
我还真没注意,因为我这个是直接建立在人家的代码上的。我查一下逻辑。
Sent with a Sparkhttps://sparkmailapp.com/source?from=signature
Message ID: @.***>
output.map(row => {
//row[1] = insert1000sep(row[1]);
row[2] = toTheProgressBar(row[2]);
return row;
});
我把上面的代码移到了if (groupedCount)
外面,我这是可以正常工作的,不知道会不会影响groupCount
相关的内容。
我觉得不会
Sent with a Sparkhttps://sparkmailapp.com/source?from=signature On Apr 6, 2022, 2:43 PM +0800, 张卿云 @.***>, wrote:
output.map(row => {
//row[1] = insert1000sep(row[1]);
row[2] = toTheProgressBar(row[2]);
return row;
});
我把上面的代码移到了if (groupedCount) 外面,我这是可以正常工作的,不知道会不会影响groupCount相关的内容。
— Reply to this email directly, view it on GitHubhttps://github.com/Rainbell129/Obsidian-Homepage/issues/5#issuecomment-1089881810, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AN6HKYGF67JVUJWLC2OTROLVDUXBXANCNFSM5SUZQ4WA. You are receiving this because you commented.Message ID: @.***>
我添加了progress 相关的css, 直接写的进度条可以显示了
,但dataviewjs里面无法正确显示,是我遗漏了什么吗?