mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
🎨 The images in the databases are not uploaded to the community hosting https://github.com/siyuan-note/siyuan/issues/11948
This commit is contained in:
parent
47aaee4a3b
commit
c9462f691d
2 changed files with 45 additions and 0 deletions
|
|
@ -217,6 +217,8 @@ func Export2Liandi(id string) (err error) {
|
|||
assets := assetsLinkDestsInTree(tree)
|
||||
embedAssets := assetsLinkDestsInQueryEmbedNodes(tree)
|
||||
assets = append(assets, embedAssets...)
|
||||
avAssets := assetsLinkDestsInAttributeViewNodes(tree)
|
||||
assets = append(assets, avAssets...)
|
||||
assets = gulu.Str.RemoveDuplicatedElem(assets)
|
||||
_, err = uploadAssets2Cloud(assets, bizTypeExport2Liandi)
|
||||
if nil != err {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue