我正在使用Splunk Light。打开Pivot时,我总是收到此错误。
我正在从Search Result
-> Visualization
-> Pivot
pivot.js:10 Uncaught TypeError: Cannot read property 'setFixedHeight' of undefined
at child.setTourHeight (pivot.js:10)
at child.render (pivot.js:10)
at child.<anonymous> (common.js:44)
at child._createPageView (pivot.js:5)
at child._createPageView (common.js:27)
at child.<anonymous> (pivot.js:5)
at Array.<anonymous> (common.js:25)
at fire (common.js:25)
at Object.fireWith [as resolveWith] (common.js:25)
at Array.<anonymous> (common.js:25)
这是有问题的功能。 this.children.tour
未定义。
setTourHeight: function() {
this.isImgTour || this.isInteractive || (this.$el.addClass("non-responsive"),
this.children.tour.setFixedHeight(this.getComputedHeaderHeight() + HEIGHT_OF_COLLAPSED_NAV_BAR))
},
谢谢。