Browse Source

:bug: 标签名称存在包含关系时重命名标签会出现误修改 Fix https://github.com/siyuan-note/siyuan/issues/5816

Liang Ding 2 năm trước cách đây
mục cha
commit
b25c0f9b94
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      kernel/model/tag.go

+ 1 - 1
kernel/model/tag.go

@@ -128,7 +128,7 @@ func RenameTag(oldLabel, newLabel string) (err error) {
 	}
 
 	util.PushEndlessProgress(Conf.Language(110))
-	util.RandomSleep(1000, 2000)
+	util.RandomSleep(500, 1000)
 
 	tags := sql.QueryTagSpansByKeyword(oldLabel, 102400)
 	treeBlocks := map[string][]string{}