我目前正在研究 ng-flow 插件,下面的代码是从 ng-flow 的快速设置中复制而来的(网站参考:https ://github.com/flowjs/ng-flow )
<div flow-init="{target: '/upload'}"
flow-files-submitted="$flow.upload()"
flow-file-success="$file.msg = $message">
<input type="file" flow-btn/>
Input OR Other element as upload button
<span class="btn" flow-btn>Upload File</span>
<table>
<tr ng-repeat="file in $flow.files">
<td>{{$index+1}}</td>
<td>{{file.name}}</td>
<td>{{file.msg}}</td>
</tr>
</table>
</div>
和正在显示,但是$index+1
没有显示任何内容。谁能向我解释这个问题?file.name
file.msg