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

兼容小程序skyline渲染模式 #937

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

taojunnan
Copy link

@taojunnan taojunnan commented Apr 7, 2024

可以正常显示 且 touch、tooltip正常

但有个bug,同一个页面中如果有多个图表,除第一个图表外其他图表touch事件失效,如果只有一个图表一切正常
还在研究中,不确定是什么原因

@taojunnan
Copy link
Author

完整补充了下,并添加了例子

@zhengjynicolas
Copy link

zhengjynicolas commented Apr 11, 2024

同问,使用demo代码,在app.json加入以下skyline配置后,IOS真机白屏,安卓没试,开发工具中也是白屏。
"renderer": "skyline", "lazyCodeLoading": "requiredComponents", "rendererOptions": { "skyline": { "defaultDisplayBlock": true, "disableABTest": true, "sdkVersionBegin": "3.0.0", "sdkVersionEnd": "15.255.255" } }, "componentFramework": "glass-easel",

@taojunnan
Copy link
Author

@zhengjynicolas 看我提交的内容,照着改就行了

@zhengjynicolas
Copy link

@zhengjynicolas 看我提交的内容,照着改就行了

我直接用了您分支的代码,并且做了相应修改,仍然无法使用,不知道是不是我整个项目基于skyline开发的缘故,真机调试还是白屏,可以看到ec-canvas的包并没有被加载。

@taojunnan
Copy link
Author

同问,使用demo代码,在app.json加入以下skyline配置后,IOS真机白屏,安卓没试,开发工具中也是白屏。 "renderer": "skyline", "lazyCodeLoading": "requiredComponents", "rendererOptions": { "skyline": { "defaultDisplayBlock": true, "disableABTest": true, "sdkVersionBegin": "3.0.0", "sdkVersionEnd": "15.255.255" } }, "componentFramework": "glass-easel",

@zhengjynicolas 我测试一切正常,用我提交的代码并加了你的配置
1

@zhengjynicolas
Copy link

同问,使用demo代码,在app.json加入以下skyline配置后,IOS真机白屏,安卓没试,开发工具中也是白屏。 "renderer": "skyline", "lazyCodeLoading": "requiredComponents", "rendererOptions": { "skyline": { "defaultDisplayBlock": true, "disableABTest": true, "sdkVersionBegin": "3.0.0", "sdkVersionEnd": "15.255.255" } }, "componentFramework": "glass-easel",

@zhengjynicolas 我测试一切正常,用我提交的代码并加了你的配置 1

感谢您的回复,找到原因了,project.config.json的setting中以下两个值必须为false
"minified": false, "uglifyFileName": false,

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

Successfully merging this pull request may close these issues.

None yet

2 participants