Code Monkey home page Code Monkey logo

Comments (9)

auhouhs avatar auhouhs commented on May 22, 2024 2

看一下node_modules下面引用的vue版本,是不是在3.2.28或者以上,如果是,锁定vue版本到3.2.27或者以下试试

from bpmn-vue-activiti.

Interstellar42 avatar Interstellar42 commented on May 22, 2024 1

更新后,表单输入都正常了,但是又出现了个新问题
1、新建一个开始节点,正常输入表单
image
2、点击空白处
image
3、再次点击新建的节点,发现Xml文件正常更新了,但属性面板有部分属性没有正常映射回去,似乎设置了getValue和setValue的属性都没能正常映射,
image
image

from bpmn-vue-activiti.

Hack-DJ avatar Hack-DJ commented on May 22, 2024

// state.handingModel[bindData.bindKey] = bindData.value;
context.emit('update:modelValue', state.handingModel);

测试把 state.handingModel[bindData.bindKey] = bindData.value; 去掉注释后ElInput控件能正常输入显示,但表单录入任然不能实时渲染,如:
1、表单信息添加第一条正常显示。
2、表单信息添加第二条不渲染,添加第三条渲染第二条内容。

from bpmn-vue-activiti.

Yiuman avatar Yiuman commented on May 22, 2024

1、GIT拉下代码后npm i 正常运行。
2、任意控件表单输入内容绑定渲染错误,不能即时渲染,如:
image
节点名称输入第一次1未渲染,输入第二次1渲染之前的内容
image
此处每个数字均输入2次
image
此处表单key输入内容为123456

方便提个PR吗

from bpmn-vue-activiti.

Hack-DJ avatar Hack-DJ commented on May 22, 2024

1、GIT拉下代码后npm i 正常运行。
2、任意控件表单输入内容绑定渲染错误,不能即时渲染,如:
image
节点名称输入第一次1未渲染,输入第二次1渲染之前的内容
image
此处每个数字均输入2次
image
此处表单key输入内容为123456

方便提个PR吗

没有哦,我什么都没改,我就git clone xxxx 然后npm install 然后 npm run dev 表单就是这样输入后不能即时渲染,我大概看了下,是表单录入数据,bpmn内容更新了,element-ui的value没更新,但是当重新再输入的时候,就会把bpmn的值更新进去,

from bpmn-vue-activiti.

JinGuiMin avatar JinGuiMin commented on May 22, 2024

我也遇到了这个问题,输入第一次不显示,第二次显示第一次的数值。

研究了一下,是因为当修改input或者select的时候,居然先更新的模板,然后才触发了watch回调,这就导致显示的是上一次的数值。
奇怪的是,只是单独运行你的项目是正常的,但是加入到我的项目中,就会出现这种问题。

Dynamicbinder组件中,如果将defaultTransformer方法的getValue都换成用resolve调用,就会正常,怀疑是get的时候没有添加依赖。
版本:vite:3.0.9
vue: 3.2.38

from bpmn-vue-activiti.

JinGuiMin avatar JinGuiMin commented on May 22, 2024

找到问题了,果然是没有收集到依赖导致的。
将DynamicBinder组件中的setValue和defaultTransformer方法中的toRaw去掉就正常了。

from bpmn-vue-activiti.

Interstellar42 avatar Interstellar42 commented on May 22, 2024

找到问题了,果然是没有收集到依赖导致的。 将DynamicBinder组件中的setValue和defaultTransformer方法中的toRaw去掉就正常了。

我试了还是不起作用

from bpmn-vue-activiti.

Yiuman avatar Yiuman commented on May 22, 2024

估计改漏了 我后边有空看下

from bpmn-vue-activiti.

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.