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 {
302
302
this .$nextTick (() => {
303
303
this .topViewHeight = this .$refs .topView .offsetHeight ;
304
304
305
- this .toolbarsViewHeight = this .$refs .toolbarsView . offsetHeight ;
305
+ this .toolbarsViewHeight = this .$refs .toolbarsView ? this . $refs . toolbarsView . offsetHeight : 0 ;
306
306
307
307
this .pageViewHeight = this .$refs .pageView ? this .$refs .pageView .offsetHeight : 0 ;
308
308
Original file line number Diff line number Diff line change @@ -394,7 +394,7 @@ protected function data()
394
394
$ this ->customData ['data ' ] = $ this ->model ()->displayData ($ this ->customData ['data ' ]);
395
395
return [
396
396
'code ' => 200 ,
397
- 'data ' => $ this ->customData
397
+ 'data ' => $ this ->isHidePage () ? $ this -> customData [ ' data ' ] : $ this -> customData
398
398
];
399
399
}
400
400
You can’t perform that action at this time.
0 commit comments