#197 修复 website 升级后问题 #205
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
基于 next 分支 进行处理 website 升级之后的问题:
点问题 panel 会白屏
原因:因为 panel 初始化的时候数据是 undefined 数组,导致获取属性的时候报错
解决方案: 将 data 中 undefined 数据过滤掉;展示出没有问题内容
移除 ”输出“ 看板, 因为功能上和 语法树解析相似
按快捷键会失焦:
原因:重写掉了 molecule onfocus 方法导致,
解决方案: 现在将编辑器 tab focus 绑定在 编辑器 mount 的时候,就不会和 editor focus 冲突
预览地址: https://shiqiwang0.github.io/monaco-sql-languages/
关联 issue: #197