feat: chart

This commit is contained in:
anti 2024-09-02 10:09:23 +08:00
parent 08e1312ad4
commit 5a0fc427bb
1 changed files with 14 additions and 0 deletions

View File

@ -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)