我目前正在研究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
没有显示任何内容。任何人都可以向我解释这个问题吗?