Skip to content

Commit ba3f057

Browse files
committed
修复去除with的bug
1 parent 38c1d2c commit ba3f057

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

public/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/mix-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"/app.js": "/app.js?id=4ed697702cd557bc2437",
2+
"/app.js": "/app.js?id=b947f979d10b28c67ed3",
33
"/manifest.js": "/manifest.js?id=8991394a854ee5cdffc3",
44
"/vendor.js": "/vendor.js?id=159feaa1cb9cfd111212"
55
}

resources/js/components/widgets/Grid/Boole.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</span>
66
</template>
77
<script>
8-
import { GridColumnComponent } from "../../../mixins";
8+
import { GridColumnComponent } from "@/mixins";
99
export default {
1010
mixins: [GridColumnComponent]
1111
};

src/Controllers/LogController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ class LogController extends AdminController
1717
protected function grid()
1818
{
1919
$grid = new Grid(new OperationLog());
20-
$grid->with(['user'])
21-
->perPage(15)
20+
$grid->perPage(15)
2221
->quickSearch()
2322
->selection()
2423
->defaultSort('id', 'desc')

src/Controllers/UserController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ protected function grid()
2727
->quickSearchPlaceholder("用户名 / 名称")
2828
->pageBackground()
2929
->defaultSort('id', 'asc')
30-
->with(['roles:id,name', 'roles.permissions', 'roles.menus'])
3130
->selection()
3231
->stripe(true)->emptyText("暂无用户")
3332
->perPage(10);

0 commit comments

Comments
 (0)