File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
resources/js/components/grid Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ export default {
302302 this .$nextTick (() => {
303303 this .topViewHeight = this .$refs .topView .offsetHeight ;
304304
305- this .toolbarsViewHeight = this .$refs .toolbarsView . offsetHeight ;
305+ this .toolbarsViewHeight = this .$refs .toolbarsView ? this . $refs . toolbarsView . offsetHeight : 0 ;
306306
307307 this .pageViewHeight = this .$refs .pageView ? this .$refs .pageView .offsetHeight : 0 ;
308308
Original file line number Diff line number Diff line change @@ -394,7 +394,7 @@ protected function data()
394394 $ this ->customData ['data ' ] = $ this ->model ()->displayData ($ this ->customData ['data ' ]);
395395 return [
396396 'code ' => 200 ,
397- 'data ' => $ this ->customData
397+ 'data ' => $ this ->isHidePage () ? $ this -> customData [ ' data ' ] : $ this -> customData
398398 ];
399399 }
400400
You can’t perform that action at this time.
0 commit comments