答案 0 :(得分:0)
我认为HTML代码问题,而不是{{key}}使用{{data}}或{{data.yourVariableName}}
$this->validate($Request, [
'Email' => 'required|unique:users',
'Username' => 'required',
'Password' => 'required',
]);
答案 1 :(得分:0)
看起来您应该使用{{data}}
代替{{key}}
:
<div ng-show="query != ''" class="dashboard-clients"> <div ng-repeat="(key, data) in result"> <a ng-click="selectClients(key)">{{data}}</a> </div> </div> </form> </div>