Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5ceb96a

Browse files
committed
debugging
1 parentb044231 commit5ceb96a

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

‎app/Helpers/functions.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
include'resource-functions.php';
88

9+
include'url-functions.php';
10+
911
functionget_nested_property($property,$object)
1012
{
1113
return$object->$property;

‎app/Helpers/url-functions.php‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
functionappUrl()
4+
{
5+
$url =url('/');
6+
return$url;
7+
}

‎resources/views/admin/components/resource_table_js.blade.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@
283283
mounted() {
284284
this.updateFilters(this.filters);
285285
this.updateTags(this.withAnyTags,this.withAllTags,this.withoutTags);
286-
var url='{{$options['url']}}?'+this.filterString+'&perPage='+this.perPage+'&limit='+this.limit+'{!!$options['GLOBAL_FILTER']!!}'+this.sortString+this.withAnyTagsString+this.withAllTagsString+this.withoutTagsString;
287-
console.log(url);
286+
var url='{{appUrl()}}?'+this.filterString+'&perPage='+this.perPage+'&limit='+this.limit+'{!!$options['GLOBAL_FILTER']!!}'+this.sortString+this.withAnyTagsString+this.withAllTagsString+this.withoutTagsString;
287+
288288
var config= {headers: {'Content-Type':'application/json','Cache-Control':'no-cache','Authorization':"{{passportAuthorizationHeader()}}"}};
289289
axios
290290
.get(url, config)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp