mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
8998de9d81
1 changed files with 3 additions and 0 deletions
|
|
@ -162,6 +162,9 @@ func (value *Value) Compare(other *Value) int {
|
|||
}
|
||||
return strings.Compare(v1, v2)
|
||||
}
|
||||
if nil != value.Template && nil != other.Template {
|
||||
return strings.Compare(value.Template.Content, other.Template.Content)
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue