@@ -3918,8 +3918,8 @@ if (typeof window !== 'undefined') {
39183918// Indicate to webpack that this file can be concatenated
39193919/* harmony default export */ var setPublicPath = ( null ) ;
39203920
3921- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"603732fe-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/gantt.vue?vue&type=template&id=665eaa46 &
3922- var ganttvue_type_template_id_665eaa46_render = function ( ) { var _vm = this ; var _h = _vm . $createElement ; var _c = _vm . _self . _c || _h ; return _c ( 'div' , { staticClass :"gantt-chart" , on :{ "&wheel" :function ( $event ) { return _vm . wheelHandle ( $event ) } , "&touchstart" :function ( $event ) { return _vm . touchStartHandle ( $event ) } , "&touchmove" :function ( $event ) { return _vm . touchMoveHandle ( $event ) } , "&touchend" :function ( $event ) { return _vm . touchEndHandle ( $event ) } } } , [ _c ( 'div' , { staticClass :"gantt-container" , style :( {
3921+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"603732fe-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/gantt.vue?vue&type=template&id=aba8616c &
3922+ var ganttvue_type_template_id_aba8616c_render = function ( ) { var _vm = this ; var _h = _vm . $createElement ; var _c = _vm . _self . _c || _h ; return _c ( 'div' , { staticClass :"gantt-chart" , on :{ "&wheel" :function ( $event ) { return _vm . wheelHandle ( $event ) } , "&touchstart" :function ( $event ) { return _vm . touchStartHandle ( $event ) } , "&touchmove" :function ( $event ) { return _vm . touchMoveHandle ( $event ) } , "&touchend" :function ( $event ) { return _vm . touchEndHandle ( $event ) } } } , [ _c ( 'div' , { staticClass :"gantt-container" , style :( {
39233923 height : ( "calc(100% - " + _vm . scrollXBarHeight + "px)" ) ,
39243924 width : ( "calc(100% - " + _vm . scrollYBarWidth + "px)" )
39253925 } ) } , [ _c ( 'div' , { directives :[ { name :"show" , rawName :"v-show" , value :( ! _vm . hideHeader ) , expression :"!hideHeader" } ] , staticClass :"gantt-header" , style :( { width : ( "calc(100% + " + _vm . scrollYBarWidth + "px)" ) } ) } , [ _c ( 'div' , { staticClass :"gantt-header-title" , style :( {
@@ -3958,7 +3958,7 @@ return [_vm._t("block",null,{"data":data,"getPositonOffset":getPositonOffset,"ge
39583958var staticRenderFns = [ ]
39593959
39603960
3961- // CONCATENATED MODULE: ./src/gantt.vue?vue&type=template&id=665eaa46 &
3961+ // CONCATENATED MODULE: ./src/gantt.vue?vue&type=template&id=aba8616c &
39623962
39633963// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
39643964var es_array_concat = __webpack_require__ ( "99af" ) ;
@@ -5730,6 +5730,8 @@ var blocks_component = normalizeComponent(
57305730 } ,
57315731 methods : {
57325732 scrollToTimehandle : function scrollToTimehandle ( newV ) {
5733+ var _this2 = this ;
5734+
57335735 if ( ! newV ) {
57345736 return ;
57355737 }
@@ -5744,9 +5746,13 @@ var blocks_component = normalizeComponent(
57445746 }
57455747
57465748 var offset = this . getPositonOffset ( newV ) ;
5747- this . $nextTick ( this . manualScroll ( offset ) ) ;
5749+ this . $nextTick ( function ( ) {
5750+ _this2 . manualScroll ( offset ) ;
5751+ } ) ;
57485752 } ,
57495753 scrollToPositionHandle : function scrollToPositionHandle ( newV ) {
5754+ var _this3 = this ;
5755+
57505756 if ( ! newV ) {
57515757 return ;
57525758 }
@@ -5755,11 +5761,15 @@ var blocks_component = normalizeComponent(
57555761 var y = Number . parseFloat ( newV . y ) ;
57565762
57575763 if ( ! Number . isNaN ( x ) && x !== this . scrollLeft ) {
5758- this . $nextTick ( this . manualScroll ( x ) ) ;
5764+ this . $nextTick ( function ( ) {
5765+ _this3 . manualScroll ( x ) ;
5766+ } ) ;
57595767 }
57605768
57615769 if ( ! Number . isNaN ( y ) && y !== this . scrollTop ) {
5762- this . $nextTick ( this . manualScroll ( undefined , y ) ) ;
5770+ this . $nextTick ( function ( ) {
5771+ _this3 . manualScroll ( undefined , y ) ;
5772+ } ) ;
57635773 }
57645774 } ,
57655775 scrollToPostionHandle : function scrollToPostionHandle ( newV ) {
@@ -5911,7 +5921,7 @@ var ganttvue_type_style_index_0_lang_scss_ = __webpack_require__("c3ab");
59115921
59125922var gantt_component = normalizeComponent (
59135923 src_ganttvue_type_script_lang_js_ ,
5914- ganttvue_type_template_id_665eaa46_render ,
5924+ ganttvue_type_template_id_aba8616c_render ,
59155925 staticRenderFns ,
59165926 false ,
59175927 null ,
0 commit comments