mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 Update av
This commit is contained in:
parent
85d876e667
commit
ef85991435
1 changed files with 2 additions and 2 deletions
|
|
@ -820,7 +820,7 @@ func updateAttributeViewCell(operation *Operation, tx *Transaction) (err error)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func UpdateAttributeViewCell(avID, keyID, rowID, cellID string, value interface{}) (err error) {
|
func UpdateAttributeViewCell(avID, keyID, rowID, cellID string, valueData interface{}) (err error) {
|
||||||
attrView, err := av.ParseAttributeView(avID)
|
attrView, err := av.ParseAttributeView(avID)
|
||||||
if nil != err {
|
if nil != err {
|
||||||
return
|
return
|
||||||
|
|
@ -857,7 +857,7 @@ func UpdateAttributeViewCell(avID, keyID, rowID, cellID string, value interface{
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
data, err := gulu.JSON.MarshalJSON(value)
|
data, err := gulu.JSON.MarshalJSON(valueData)
|
||||||
if nil != err {
|
if nil != err {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue