Giter Site home page Giter Site logo

Comments (7)

teamemory avatar teamemory commented on May 24, 2024

你好,这个需要大概是实现思路有没? 我监听如下事件,发现获取到的element内容不对。

image

from workflow-bpmn-modeler.

GoldSubmarine avatar GoldSubmarine commented on May 24, 2024

这个还没有看过,但是应该不影响使用吧

from workflow-bpmn-modeler.

teamemory avatar teamemory commented on May 24, 2024

这个还没有看过,但是应该不影响使用吧

哈哈,一进来不美观,想着弄一下

from workflow-bpmn-modeler.

GoldSubmarine avatar GoldSubmarine commented on May 24, 2024

欢迎pr

from workflow-bpmn-modeler.

teamemory avatar teamemory commented on May 24, 2024

已解决:
步骤1:
PropertyPanel.vue 中 增加

this.modeler.on("root.added", (e) => {
let element = e.element;
if (element.id === "__implicitroot") {
return;
}
this.element = element;
});
image

步骤2:
init.js 中id改为 __implicitroot

image

from workflow-bpmn-modeler.

GoldSubmarine avatar GoldSubmarine commented on May 24, 2024

大体思路可以,不过这个xml中的process的id属性不能为固定值,每个流程的id需要是不同的,明天我试着实现下

from workflow-bpmn-modeler.

teamemory avatar teamemory commented on May 24, 2024

大体思路可以,不过这个xml中的process的id属性不能为固定值,每个流程的id需要是不同的,明天我试着实现下

好的

from workflow-bpmn-modeler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.