angularjs ng-flow消息未显示

时间:2015-12-10 17:32:46

标签: angularjs ng-flow

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

0 个答案:

没有答案