小编Tim*_*uki的帖子

AWS vuejs Amplify - 无法拉动后端

我使用管理 UI 创建了一个应用程序,然后创建了一个新的 Vue JS 应用程序。

当我amplify pull --appId d2v01y74i7xjqk --envName staging在 CLI 上运行时,出现以下错误:

Invalid feature flag configuration

These feature flags are defined in the "amplify/cli.json" configuration file and are unknown to the currently running Amplify CLI:

graphqltransformer.skipoverridemutationinputtypes
This issue likely happens when the project has been pushed with a newer version of Amplify CLI, try updating to a newer version.
Run Code Online (Sandbox Code Playgroud)

我已将 amplify 升级到最新的 4.45.0 版本。

有谁知道如何解决这个问题?

vue.js aws-amplify

4
推荐指数
1
解决办法
4036
查看次数

Laravel分页错误

我需要从数据库中获取特定字段,然后对结果进行分页,但不确定在哪里放置->paginate()

我的代码如下:

Upload::where('sponsor_id', Request::segment(2))
        //->paginate(20)
        ->join('users', 'users.id', 'uploads.uploaded_by')
        ->orderBy('uploads.created_at', 'DESC')
        ->get([
            'uploads.filename',
            'users.first_name',
            'users.surname',
            'uploads.errors',
            'uploads.statistics',
            'uploads.created_at',
        ])
Run Code Online (Sandbox Code Playgroud)

我没有分页就得到正确的结果,但我想对结果分页。

php pagination laravel

1
推荐指数
1
解决办法
49
查看次数

标签 统计

aws-amplify ×1

laravel ×1

pagination ×1

php ×1

vue.js ×1