|
@@ -901,6 +901,7 @@ import { myGraph } from './common/gragh';
|
|
|
resolve(resultNode)
|
|
|
return
|
|
|
}
|
|
|
+ this.zTreeObj.removeChildNodes(parentNode)
|
|
|
sandInterface.getSandboxClassify({SandboxClassifyId:parentNode.SandboxClassifyId,IsShowMe:this.searchParams.IsShowMe}).then(res=>{
|
|
|
if (res.Ret === 200) {
|
|
|
let nodesData=res.Data.AllNodes || []
|
|
@@ -1099,8 +1100,8 @@ import { myGraph } from './common/gragh';
|
|
|
i--
|
|
|
}
|
|
|
let textNode = document.createElement('text')
|
|
|
- textNode.setAttribute('x',x-tx+width-90)
|
|
|
- textNode.setAttribute('y',y-ty+height+22)
|
|
|
+ textNode.setAttribute('x',(x-tx+width)/zoom-85)
|
|
|
+ textNode.setAttribute('y',(y-ty+height)/zoom+27)
|
|
|
textNode.setAttribute('font-size','16px')
|
|
|
textNode.setAttribute('font-style','italic')
|
|
|
textNode.innerText = '来源:弘则研究'
|