@@ -110,8 +110,8 @@ return /******/ (function(modules) { // webpackBootstrap
110110 if ( false ) {
111111 // When the styles change, update the <style> tags
112112 if ( ! content . locals ) {
113- module . hot . accept ( "!!./.. /../node_modules/.0.25.0@ css-loader/index.js!./.. /../node_modules/.10.3.0@ vue-loader/lib/style-rewriter.js?id=data-v-739f43f1!./.. /../node_modules/.4.1.1@ sass-loader/index.js!./.. /../node_modules/.10.3.0@ vue-loader/lib/selector.js?type=styles&index=0!./DataTables.vue" , function ( ) {
114- var newContent = require ( "!!./.. /../node_modules/.0.25.0@ css-loader/index.js!./.. /../node_modules/.10.3.0@ vue-loader/lib/style-rewriter.js?id=data-v-739f43f1!./.. /../node_modules/.4.1.1@ sass-loader/index.js!./.. /../node_modules/.10.3.0@ vue-loader/lib/selector.js?type=styles&index=0!./DataTables.vue" ) ;
113+ module . hot . accept ( "!!.. /../node_modules/css-loader/index.js!.. /../node_modules/vue-loader/lib/style-rewriter.js?id=data-v-739f43f1!.. /../node_modules/sass-loader/index.js!.. /../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./DataTables.vue" , function ( ) {
114+ var newContent = require ( "!!.. /../node_modules/css-loader/index.js!.. /../node_modules/vue-loader/lib/style-rewriter.js?id=data-v-739f43f1!.. /../node_modules/sass-loader/index.js!.. /../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./DataTables.vue" ) ;
115115 if ( typeof newContent === 'string' ) newContent = [ [ module . id , newContent , '' ] ] ;
116116 update ( newContent ) ;
117117 } ) ;
@@ -601,8 +601,6 @@ return /******/ (function(modules) { // webpackBootstrap
601601 return this . colNotRowClick . concat ( [ 'innerRowActions' ] ) ;
602602 } ,
603603 tableData : function tableData ( ) {
604- var _this = this ;
605-
606604 var newData = this . data . slice ( ) ;
607605
608606 var doFilter = function doFilter ( defaultFilterFunction , filter , value ) {
@@ -646,24 +644,22 @@ return /******/ (function(modules) { // webpackBootstrap
646644 } ) ;
647645
648646 if ( this . sortData . order ) {
649- ( function ( ) {
650- var order = _this . sortData . order ;
651- var prop = _this . sortData . prop ;
652- var isDescending = order === 'descending' ;
653-
654- newData . sort ( function ( a , b ) {
655- if ( a [ prop ] > b [ prop ] ) {
656- return 1 ;
657- } else if ( a [ prop ] < b [ prop ] ) {
658- return - 1 ;
659- } else {
660- return 0 ;
661- }
662- } ) ;
663- if ( isDescending ) {
664- newData . reverse ( ) ;
647+ var order = this . sortData . order ;
648+ var prop = this . sortData . prop ;
649+ var isDescending = order === 'descending' ;
650+
651+ newData . sort ( function ( a , b ) {
652+ if ( a [ prop ] > b [ prop ] ) {
653+ return 1 ;
654+ } else if ( a [ prop ] < b [ prop ] ) {
655+ return - 1 ;
656+ } else {
657+ return 0 ;
665658 }
666- } ) ( ) ;
659+ } ) ;
660+ if ( isDescending ) {
661+ newData . reverse ( ) ;
662+ }
667663 }
668664
669665 this . $emit ( 'filtered-data' , newData ) ;
@@ -723,7 +719,7 @@ return /******/ (function(modules) { // webpackBootstrap
723719 this . checkedFilters = checkedFilters ;
724720 } ,
725721 handleRowClick : function handleRowClick ( row , event , column ) {
726- if ( this . innerColNotRowClick . indexOf ( column . property ) === - 1 ) {
722+ if ( column && this . innerColNotRowClick . indexOf ( column . property ) === - 1 ) {
727723 this . $emit ( 'row-click' , row ) ;
728724 }
729725 } ,
@@ -1387,8 +1383,8 @@ return /******/ (function(modules) { // webpackBootstrap
13871383 if ( false ) {
13881384 // When the styles change, update the <style> tags
13891385 if ( ! content . locals ) {
1390- module . hot . accept ( "!!./.. /../node_modules/.0.25.0@ css-loader/index.js!./.. /../node_modules/.10.3.0@ vue-loader/lib/style-rewriter.js?id=data-v-5ef578ba!./.. /../node_modules/.4.1.1@ sass-loader/index.js!./.. /../node_modules/.10.3.0@ vue-loader/lib/selector.js?type=styles&index=0!./ScCheckboxGroup.vue" , function ( ) {
1391- var newContent = require ( "!!./.. /../node_modules/.0.25.0@ css-loader/index.js!./.. /../node_modules/.10.3.0@ vue-loader/lib/style-rewriter.js?id=data-v-5ef578ba!./.. /../node_modules/.4.1.1@ sass-loader/index.js!./.. /../node_modules/.10.3.0@ vue-loader/lib/selector.js?type=styles&index=0!./ScCheckboxGroup.vue" ) ;
1386+ module . hot . accept ( "!!.. /../node_modules/css-loader/index.js!.. /../node_modules/vue-loader/lib/style-rewriter.js?id=data-v-5ef578ba!.. /../node_modules/sass-loader/index.js!.. /../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./ScCheckboxGroup.vue" , function ( ) {
1387+ var newContent = require ( "!!.. /../node_modules/css-loader/index.js!.. /../node_modules/vue-loader/lib/style-rewriter.js?id=data-v-5ef578ba!.. /../node_modules/sass-loader/index.js!.. /../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./ScCheckboxGroup.vue" ) ;
13921388 if ( typeof newContent === 'string' ) newContent = [ [ module . id , newContent , '' ] ] ;
13931389 update ( newContent ) ;
13941390 } ) ;
0 commit comments