合并
This commit is contained in:
@ -780,7 +780,7 @@ class Shp extends Base {
|
||||
linkAddBtnElm.addEventListener('click', async () => {
|
||||
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
|
||||
this._DialogObject.attribute.link.content.push({
|
||||
name: this.getDateTimeString(),
|
||||
name: '链接',
|
||||
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
|
||||
})
|
||||
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
|
||||
@ -858,7 +858,7 @@ class Shp extends Base {
|
||||
}
|
||||
else {
|
||||
this._DialogObject.attribute.link.content.push({
|
||||
name: this.getDateTimeString(),
|
||||
name: '链接',
|
||||
url: link
|
||||
})
|
||||
this.setAttributeLinkById(nodeId, this._DialogObject.attribute.link.content)
|
||||
|
Reference in New Issue
Block a user