0

私は現在 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も表示されません。誰かが私にこの問題を説明できますか?

4

0 に答える 0