mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-29 03:36:10 +01:00
🎨 Display a confirmation prompt when inserting large assets 256MB https://github.com/siyuan-note/siyuan/issues/16685
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
b973fed06b
commit
6188b4fb32
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ func readFilePaths(c *gin.Context) {
|
|||
paths, _ = clipboard.ReadFilePaths()
|
||||
}
|
||||
|
||||
var data []map[string]any
|
||||
data := []map[string]any{}
|
||||
for _, path := range paths {
|
||||
fi, err := os.Stat(path)
|
||||
if nil != err {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue