Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

决策流不支持点了开始节点没有反应 #164

Open
shyding opened this issue Sep 21, 2020 · 4 comments
Open

决策流不支持点了开始节点没有反应 #164

shyding opened this issue Sep 21, 2020 · 4 comments

Comments

@shyding
Copy link

shyding commented Sep 21, 2020

为了您的问题能得到及时准确解答,请认真填写下面各个选项,感谢您的配合。

  • 当前使用的URule的具体版本号:

  • 遇到的问题详细描述:

  • 涉及到的异常信息(完整异常信息):

  • 相关截图:

@shyding
Copy link
Author

shyding commented Sep 21, 2020

chrome 最新版浏览器, firefox试过是支持的,但是动作的设置不支持

@shaoyn
Copy link

shaoyn commented Jan 30, 2021

估计是个bug,商业版没这个问题,开源版的不维护了
好像是依赖的flowdesigner模块,里面使用$(window).height()获取当前窗口高度作为决策流面板的高度,chrome浏览器不知道啥情况不兼容获取的值为0
我临时解决方案是修改urule-console-js/src/flow/RuleFlowDesigner.js文件constructor方法在super(containerId);后面重新设置canvasContainer的高度
constructor(containerId){ super(containerId); // 修复google浏览器$(window).height()获取不到的bug,暂时写死800高度解决 this.canvasContainer.css('height',800); this.importVariableLibraries=[]; this.importConstantLibraries=[]; this.importParameterLibraries=[]; this.importActionLibraries=[]; this.variableLibraries=[]; this.constantLibraries=[]; this.parameterLibraries=[]; this.actionLibraries=[]; this.flowId=''; }

临时先这么解决吧

@happyweizai
Copy link

你上面说的这个问题,我通过在后端接口加一个休眠时间也解决了,前端因为代码启动不起来,也不太熟悉react.就不会弄

我想问一下开源版的前端console-js项目可以启动吗?我这边感觉启动不起来,因为我不会react,所以就只会最简单的npm打包的方式。谢谢

@happyweizai
Copy link

估计是个bug,商业版没这个问题,开源版的不维护了 好像是依赖的flowdesigner模块,里面使用$(window).height()获取当前窗口高度作为决策流面板的高度,chrome浏览器不知道啥情况不兼容获取的值为0 我临时解决方案是修改urule-console-js/src/flow/RuleFlowDesigner.js文件constructor方法在super(containerId);后面重新设置canvasContainer的高度 constructor(containerId){ super(containerId); // 修复google浏览器$(window).height()获取不到的bug,暂时写死800高度解决 this.canvasContainer.css('height',800); this.importVariableLibraries=[]; this.importConstantLibraries=[]; this.importParameterLibraries=[]; this.importActionLibraries=[]; this.variableLibraries=[]; this.constantLibraries=[]; this.parameterLibraries=[]; this.actionLibraries=[]; this.flowId=''; }

临时先这么解决吧

你好

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants