duchao-duchao
duchao-duchao
ignoreElements,过滤一下
ignoreElements: e => { if ( e.contains(element) || element.contains(e) || e.tagName === 'STYLE' || e.tagName === 'LINK' || e.getAttribute('data-html2canvas') != null // header里面的样式不能筛掉 ) { console.log(e); return false; } //...
node.setPortProp(port.id as string, 'attrs/path', { stroke: '#007FE3', d: 字母svg路径 })
是滴。403