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

🤔折叠图标不显示;报出:GuiIcon Minus load error;(我的项目是内网) #1991

Closed
1 of 5 tasks
dengyushuai opened this issue Dec 10, 2022 · 9 comments
Closed
1 of 5 tasks
Labels
🐛 bug 这个是一个 bug ❔question 疑问/使用问题

Comments

@dengyushuai
Copy link

dengyushuai commented Dec 10, 2022

🏷 Version

Package Version
@antv/s2 1.36.0
@antv/s2-react 1.33.0

Sheet Type

  • PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

我的项目是内网,无法访问外网;表格数据都没有问题,但是我使用了树结构(两个配置项为:hierarchyType: ‘tree’; sheeType: ‘gridAnalysis’;),树结构的折叠图标不显示,报出:GuiIcon Minus load error。不知道这样描述您能不能理解,能不能告诉我该怎么解决?谢谢

🔗 Reproduce Link

内网提供不了连接,谢谢

😊 Expected Behavior

😅 Current Behavior

@dengyushuai dengyushuai added the ❔question 疑问/使用问题 label Dec 10, 2022
@dengyushuai
Copy link
Author

是不是我缺少什么依赖呢?

@wjgogogo wjgogogo added the 🐛 bug 这个是一个 bug label Dec 14, 2022
@github-actions
Copy link
Contributor

你好 @dengyushuai,很抱歉给你带来了不好的体验, 我们会尽快排查问题并修复, 请关注后续发布日志.

Hello, @dengyushuai, We are so sorry for the bad experience. We will troubleshoot and fix the problem as soon as possible. Please pay attention to the follow-up change logs.

@dengyushuai
Copy link
Author

你好@dengyushuai,很挽回给你带来了不好的体验,我们会尽快排查问题并修复,请关注后续发布日志。

你好,@dengyushuai, 给您带来不好的体验,我们深表歉意。我们将尽快排除故障并解决问题。请关注后续变更日志。

谢谢。但是我感觉应该不是你们的问题,应该是我缺少什么东西吧

@wjgogogo
Copy link
Contributor

如果可以,还是需要尽量提供复现链接,或者截图之类的

@dengyushuai
Copy link
Author

dengyushuai commented Dec 14, 2022

如果可以,还是需要尽量提供复现链接,或者截图之类的

好的,谢谢;链接可能是提供不了了,到时候我看看能不能拍照吧。(正常单位是不让拍照的)

@wjgogogo
Copy link
Contributor

wjgogogo commented Dec 14, 2022

并非是要你拍真实的数据,你可以将数据层面全部用假数据mock,其他配置保持不变。就可以在codesandbox这样的平台测试了,和是不是内网应用没关系,如果在其他平台测试也是一样的问题,那么就说明确实是s2的问题,否则需要你排查自己的平台代码是不是有什么影响

@dengyushuai
Copy link
Author

并非是的的数据一样的问题,那么就说明确实是s2的问题,否则需要你排查自己的平台代码是不是有什么影响

好的,谢谢了

@astragier
Copy link

@dengyushuai how did you solve your error please? I encounter the same one.

@astragier
Copy link

Here is the sandbox to reproduce: https://codesandbox.io/p/sandbox/solitary-frog-99ckw8?file=%2Fsrc%2FApp.js%3A147%2C1

In the console you can see the error log:
index.js:27 GuiIcon SortDown load failed TypeError: Cannot read properties of undefined (reading 'push')
at Canvas.refreshElement (index.js:10201:21)
at refreshElement (index.js:8585:16)
at ShapeBase.onCanvasChange (index.js:8752:5)
at Container.add (index.js:5108:13)
at Container.addShape (index.js:5023:10)
at eval (index.js:19027:15)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug 这个是一个 bug ❔question 疑问/使用问题
Projects
None yet
Development

No branches or pull requests

4 participants