feat: chart
This commit is contained in:
parent
08e1312ad4
commit
5a0fc427bb
|
@ -45,6 +45,20 @@ export default {
|
|||
})
|
||||
|
||||
this.createNewDiagram()
|
||||
|
||||
const observer = new MutationObserver((mutations) => {
|
||||
mutations.forEach(() => {
|
||||
const logo = document.querySelector('.bjs-powered-by')
|
||||
if (logo) {
|
||||
logo.style.display = 'none'
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
observer.observe(document.body, {
|
||||
childList: true,
|
||||
subtree: true
|
||||
})
|
||||
},
|
||||
async createNewDiagram() {
|
||||
await this.bpmnModeler.importXML(this.xmlStr)
|
||||
|
|
Loading…
Reference in New Issue