File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ class BaseAction extends Component implements JsonSerializable
38
38
*/
39
39
public function __construct ()
40
40
{
41
- $ this ->resource = url (request ()->getPathInfo ());
41
+ $ this ->resource = admin_api_url (request ()->path ());
42
42
}
43
43
44
44
/**
Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ public function jsonSerialize()
367
367
} else {
368
368
$ viewData ['componentName ' ] = $ this ->componentName ;
369
369
$ viewData ['routers ' ] = [
370
- 'resource ' => url (request ()->getPathInfo ())
370
+ 'resource ' => admin_api_url (request ()->path ()),
371
371
];
372
372
$ viewData ['keyName ' ] = $ this ->keyName ;
373
373
$ viewData ['selection ' ] = $ this ->attributes ->selection ;
Original file line number Diff line number Diff line change 25
25
extractVueStyles : false ,
26
26
processCssUrls : false ,
27
27
} )
28
- . disableNotifications ( )
28
+ . disableNotifications ( ) . version ( ) ;
29
29
30
- if ( mix . inProduction ( ) ) {
31
- mix . version ( ) ;
32
- }
You can’t perform that action at this time.
0 commit comments