【问题标题】:Why is the attribute 'key' and 'vars' not recognised为什么无法识别属性“key”和“vars”
【发布时间】:2020-02-02 14:28:28
【问题描述】:
public function store (Request $request)
{
    $images = request()->file ( key:'file');
    dd( ...vars: $images);
}

Laravel 5.8 中无法识别 key: 和 ...var: 属性,因为它不断向我抛出语法错误?

【问题讨论】:

    标签: vue.js syntax-error laravel-5.8 image-upload vue-dropzone


    【解决方案1】:

    这些关键字缺少 $ 符号! 希望对您有所帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-01-12
      • 2018-04-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-08-11
      相关资源
      最近更新 更多