Skip to content

Commit

Permalink
修复去除with的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SmallRuralDog committed Apr 2, 2020
1 parent 38c1d2c commit ba3f057
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion public/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"/app.js": "/app.js?id=4ed697702cd557bc2437",
"/app.js": "/app.js?id=b947f979d10b28c67ed3",
"/manifest.js": "/manifest.js?id=8991394a854ee5cdffc3",
"/vendor.js": "/vendor.js?id=159feaa1cb9cfd111212"
}
2 changes: 1 addition & 1 deletion resources/js/components/widgets/Grid/Boole.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</span>
</template>
<script>
import { GridColumnComponent } from "../../../mixins";
import { GridColumnComponent } from "@/mixins";
export default {
mixins: [GridColumnComponent]
};
Expand Down
3 changes: 1 addition & 2 deletions src/Controllers/LogController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ class LogController extends AdminController
protected function grid()
{
$grid = new Grid(new OperationLog());
$grid->with(['user'])
->perPage(15)
$grid->perPage(15)
->quickSearch()
->selection()
->defaultSort('id', 'desc')
Expand Down
1 change: 0 additions & 1 deletion src/Controllers/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ protected function grid()
->quickSearchPlaceholder("用户名 / 名称")
->pageBackground()
->defaultSort('id', 'asc')
->with(['roles:id,name', 'roles.permissions', 'roles.menus'])
->selection()
->stripe(true)->emptyText("暂无用户")
->perPage(10);
Expand Down

0 comments on commit ba3f057

Please sign in to comment.