diff --git a/app/Http/Controllers/Api/DialogController.php b/app/Http/Controllers/Api/DialogController.php index 4fec1b3fd..3b6d5c9a6 100755 --- a/app/Http/Controllers/Api/DialogController.php +++ b/app/Http/Controllers/Api/DialogController.php @@ -386,7 +386,7 @@ class DialogController extends AbstractController $prev_id = intval(Request::input('prev_id')); $next_id = intval(Request::input('next_id')); $msg_type = trim(Request::input('msg_type')); - $take = Base::getPaginate(100, 50, 'take'); + $take = Base::getPaginate(100, 50); $data = []; // $dialog = WebSocketDialog::checkDialog($dialog_id); diff --git a/resources/assets/js/app.js b/resources/assets/js/app.js index 55a7f458e..958a25038 100644 --- a/resources/assets/js/app.js +++ b/resources/assets/js/app.js @@ -143,8 +143,6 @@ Vue.prototype.goBack = function () { app.$store.state.routeHistorys.pop(); const length = app.$store.state.routeHistorys.length; app.$store.state.routeHistoryLast = length >= 2 ? app.$store.state.routeHistorys[length - 2] : {}; - } else if (app.$route.name == 'manage-apps') { - app.$router.back(); } else { app.$router.replace({path: '/'}).catch(_ => {}); app.$store.state.routeHistorys = []; diff --git a/resources/assets/js/components/Mobile/Back.vue b/resources/assets/js/components/Mobile/Back.vue index ab00d90c6..57affea68 100644 --- a/resources/assets/js/components/Mobile/Back.vue +++ b/resources/assets/js/components/Mobile/Back.vue @@ -7,6 +7,7 @@