Skip to content

任务列表项切换完成状态后,需要刷新该列表项以及父块绑定的数据库 #12997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TCOTC opened this issue Nov 1, 2024 · 2 comments
Assignees

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Nov 1, 2024

目前只有修改块内容才会自动刷新数据库:

default.webm

用的模板是:

.action{ if index . "custom-avs" }
.action{ $id := .id }
.action{ $done := len (queryBlocks "SELECT * FROM blocks WHERE id = '?' AND markdown LIKE '* [x]%'" $id) }
.action{ if eq $done 1 }
已完成
.action{ else }
未完成
.action{ end }
.action{ end }
@5kyfkr
Copy link

5kyfkr commented Nov 1, 2024

支持一下

@88250 88250 self-assigned this Nov 2, 2024
88250 added a commit that referenced this issue Nov 2, 2024

Verified

This commit was signed with the committer’s verified signature.
@88250
Copy link
Member

88250 commented Nov 2, 2024

这个改进就不归入特定版本了,谢谢。
This improvement will not be included in a specific version, thank you.

@88250 88250 closed this as completed Nov 2, 2024
88250 added a commit that referenced this issue Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants