forked from github/dataease
Merge pull request #3025 from dataease/pr@dev@fix_scroll_s2_error
fix(视图-s2表格): 预览s2表格后切换到空仪表板拖动浏览器控制台报错
This commit is contained in:
commit
11426fc96b
@ -145,6 +145,7 @@ export function baseTableInfo(s2, container, chart, action, tableData) {
|
|||||||
|
|
||||||
export function baseTableNormal(s2, container, chart, action, tableData) {
|
export function baseTableNormal(s2, container, chart, action, tableData) {
|
||||||
const containerDom = document.getElementById(container)
|
const containerDom = document.getElementById(container)
|
||||||
|
if(!containerDom) return
|
||||||
|
|
||||||
// fields
|
// fields
|
||||||
const fields = chart.data.fields
|
const fields = chart.data.fields
|
||||||
|
Loading…
Reference in New Issue
Block a user