@@ -28,7 +28,8 @@ class Category extends AdminBase
}
return View::fetch('', [
- 'categorys' => $categorys
+ 'categorys' => $categorys,
+ 'pid' => $pid
]);
@@ -132,7 +132,7 @@
, curr: {$categorys.current_page}
, jump: function (obj, first) {
if (!first) {
- location.href = "?page=" + obj.curr
+ location.href = "?page=" + obj.curr + "&pid={$pid}"
});