IAliceBobI / sy-tomato-plugin

MIT License
19 stars 2 forks source link

反链面板无法刷新出传递型双链新建的子列表项 #46

Closed d-sun-cs closed 2 months ago

d-sun-cs commented 2 months ago

win11 思源笔记v3.1.3

初始状态,test ref文档中有对test doc文档的引用,作为传递型双链,但尚未创建子列表项:

image

未书写其他内容的情况下,查看test doc文档,状态正常:

image

在test ref文档的传递型双链中创建子列表项书写内容:

image

之后test doc文档的反链面板并无实时更新子列表项,即使打开刷新很长时间,也没有作用:

image

关闭所有文档,再打开test doc文档,也无法刷新出传递型双链的子列表项

重启思源笔记应用后,test doc文档中才出现子列表项内容:

image

这个问题貌似有一定的出现条件:

期望效果:实时更新传递型双链新建的子列表项,或者在开启刷新开关时更新

日志:

I 2024/08/17 15:12:06 working.go:147: 
      ___                                   ___           ___           ___
     /  /\        ___           ___        /__/\         /  /\         /__/\
    /  /:/_      /  /\         /__/|       \  \:\       /  /::\        \  \:\
   /  /:/ /\    /  /:/        |  |:|        \  \:\     /  /:/\:\        \  \:\
  /  /:/ /::\  /__/::\        |  |:|    ___  \  \:\   /  /:/~/::\   _____\__\:\
 /__/:/ /:/\:\ \__\/\:\__   __|__|:|   /__/\  \__\:\ /__/:/ /:/\:\ /__/::::::::\
 \  \:\/:/~/:/    \  \:\/\ /__/::::\   \  \:\ /  /:/ \  \:\/:/__\/ \  \:\~~\~~\/
  \  \::/ /:/      \__\::/    ~\~~\:\   \  \:\  /:/   \  \::/       \  \:\  ~~~
   \__\/ /:/       /__/:/       \  \:\   \  \:\/:/     \  \:\        \  \:\
     /__/:/        \__\/         \__\/    \  \::/       \  \:\        \  \:\
     \__\/                                 \__\/         \__\/         \__\/
I 2024/08/17 15:12:06 runtime.go:74: kernel is booting:
    * ver [3.1.3]
    * arch [amd64]
    * os [Microsoft Windows 11 Home China]
    * pid [9704]
    * runtime mode [prod]
    * working directory [C:\Users\dsun\AppData\Local\Programs\SiYuan\resources]
    * read only [false]
    * container [std]
    * database [ver=20220501]
    * workspace directory [C:\Users\dsun\SiYuan]
I 2024/08/17 15:12:06 conf.go:125: loaded conf [C:\Users\dsun\SiYuan\conf\conf.json]
I 2024/08/17 15:12:06 runtime.go:123: use network proxy [system]
I 2024/08/17 15:12:06 serve.go:127: kernel [pid=9704] http server [127.0.0.1:61301] is booting
I 2024/08/17 15:12:06 conf.go:838: database size [8.05 MB], tree/block count [0/0]
I 2024/08/17 15:12:06 working.go:193: kernel booted
I 2024/08/17 15:12:06 pandoc.go:146: built-in pandoc [ver=3.1.1, bin=C:\Users\dsun\SiYuan\temp\pandoc\bin\pandoc.exe]
I 2024/08/17 15:12:06 conf.go:1100: pandoc initialized, set pandoc bin to [C:\Users\dsun\SiYuan\temp\pandoc\bin\pandoc.exe]
I 2024/08/17 15:12:06 box.go:77: auto stat [trees=0, blocks=0, dataSize=3.7 MB, assetsSize=0 B]
I 2024/08/17 15:12:06 disk.go:33: disk usage [total=215.06 GB, used=98.47 GB, free=116.6 GB]
I 2024/08/17 15:12:07 fixedport.go:35: fixed port service [127.0.0.1:6806] is running
I 2024/08/17 15:12:11 mount.go:64: created box [20240817151211-qvb9e6d]
I 2024/08/17 15:12:12 index.go:220: rebuilt database for notebook [20240817151211-qvb9e6d] in [0.02s], tree [count=0, size=0 B]
I 2024/08/17 15:12:12 index.go:290: resolved refs [0] in [1ms]
I 2024/08/17 15:12:58 conf.go:595: exiting kernel [force=false, setCurrentWorkspace=true, execInstallPkg=0]
I 2024/08/17 15:12:58 database.go:1284: closed database
I 2024/08/17 15:12:58 conf.go:1021: cleared workspace temp
I 2024/08/17 15:12:59 sync.go:722: sync websocket closed
I 2024/08/17 15:13:05 working.go:147: 
      ___                                   ___           ___           ___
     /  /\        ___           ___        /__/\         /  /\         /__/\
    /  /:/_      /  /\         /__/|       \  \:\       /  /::\        \  \:\
   /  /:/ /\    /  /:/        |  |:|        \  \:\     /  /:/\:\        \  \:\
  /  /:/ /::\  /__/::\        |  |:|    ___  \  \:\   /  /:/~/::\   _____\__\:\
 /__/:/ /:/\:\ \__\/\:\__   __|__|:|   /__/\  \__\:\ /__/:/ /:/\:\ /__/::::::::\
 \  \:\/:/~/:/    \  \:\/\ /__/::::\   \  \:\ /  /:/ \  \:\/:/__\/ \  \:\~~\~~\/
  \  \::/ /:/      \__\::/    ~\~~\:\   \  \:\  /:/   \  \::/       \  \:\  ~~~
   \__\/ /:/       /__/:/       \  \:\   \  \:\/:/     \  \:\        \  \:\
     /__/:/        \__\/         \__\/    \  \::/       \  \:\        \  \:\
     \__\/                                 \__\/         \__\/         \__\/
I 2024/08/17 15:13:05 runtime.go:74: kernel is booting:
    * ver [3.1.3]
    * arch [amd64]
    * os [Microsoft Windows 11 Home China]
    * pid [1836]
    * runtime mode [prod]
    * working directory [C:\Users\dsun\AppData\Local\Programs\SiYuan\resources]
    * read only [false]
    * container [std]
    * database [ver=20220501]
    * workspace directory [C:\Users\dsun\SiYuan]
I 2024/08/17 15:13:05 conf.go:125: loaded conf [C:\Users\dsun\SiYuan\conf\conf.json]
I 2024/08/17 15:13:05 runtime.go:123: use network proxy [system]
I 2024/08/17 15:13:05 serve.go:127: kernel [pid=1836] http server [127.0.0.1:61339] is booting
I 2024/08/17 15:13:05 conf.go:838: database size [8.05 MB], tree/block count [2/26]
I 2024/08/17 15:13:05 working.go:193: kernel booted
I 2024/08/17 15:13:05 pandoc.go:146: built-in pandoc [ver=3.1.1, bin=C:\Users\dsun\SiYuan\temp\pandoc\bin\pandoc.exe]
I 2024/08/17 15:13:05 conf.go:1100: pandoc initialized, set pandoc bin to [C:\Users\dsun\SiYuan\temp\pandoc\bin\pandoc.exe]
I 2024/08/17 15:13:05 box.go:77: auto stat [trees=2, blocks=26, dataSize=3.71 MB, assetsSize=0 B]
I 2024/08/17 15:13:05 disk.go:33: disk usage [total=215.06 GB, used=98.47 GB, free=116.59 GB]
I 2024/08/17 15:13:06 fixedport.go:35: fixed port service [127.0.0.1:6806] is running
I 2024/08/17 15:13:39 conf.go:595: exiting kernel [force=false, setCurrentWorkspace=true, execInstallPkg=0]
I 2024/08/17 15:13:39 database.go:1284: closed database
I 2024/08/17 15:13:39 conf.go:1021: cleared workspace temp
I 2024/08/17 15:13:39 sync.go:722: sync websocket closed

本人水平有限,如有陈述不妥,敬请谅解

作者辛苦🩷

IAliceBobI commented 2 months ago

image

试试这个按钮。

d-sun-cs commented 2 months ago

image

试试这个按钮。

这个刷新按钮是可以刷新出正确内容的,没有问题了

感谢作者回复