点击超链接切换sheet,有个报错,怎么弄?custom js error cannot read property
'select tabat' of undefined
把你的js贴上来。
看样子是你的sql写错了
contentPane.$contentPane.data('TabPane').selectTabAt(1);//sheet页默认从0开始
这段代码我试了,没有问题,可以正常跳转。
请参考这个教程来试一下
JS实现点击按钮切换Sheet页-https://help.fanruan.com/finereport/doc-view-2386.html
或者参考JS实现点击单选按钮组切换sheet-https://help.fanruan.com/finereport/doc-view-1757.html