为了账号安全,请及时绑定邮箱和手机立即绑定

为什么这样遍历{{。。。。。}}这里面的内容显示不出来?

/ 猿问

为什么这样遍历{{。。。。。}}这里面的内容显示不出来?

苦咖 2019-03-26 10:33:38
 <table class="table table-bordered" style="margin-top: 0px;margin-bottom: 5px;text-align:center;">
  <tr ng-repeat="d in datas">
            <table >
                <tr >
                    <th>序号</th>
                    <td>{{1 + $index}}</td>
                </tr>
                <tr >
                    <th data-i18n="checkRecord.projectName"></th>
                    <td>{{d.checkItemVersion.projectVersion.name}}</td>
                </tr>
                <tr>
                    <th data-i18n="checkRecord.checkName"></th>
                    <td>{{d.checkItemVersion.name}}</td>
                </tr>
                <tr >
                    <th data-i18n="checkRecord.checkGoal"></th>
                    <td>{{d.checkItemVersion.goal}}</td>
                </tr>
                <tr>
                    <th data-i18n="checkRecord.method"></th>
                    <td>{{d.checkItemVersion.method}}</td>
                </tr>
                <tr>
                    <th data-i18n="checkRecord.score"></th>
                    <td>
                        <input type="number" class="input-small" ng-model="d.score">
                    </td>
                </tr>
                <tr>
                    <th data-i18n="checkRecord.memo"></th>
                    <td>
                        <textarea ng-model="d.memo"></textarea>
                    </td>
                </tr>
                <tr>
                    <th class="col-xs-5">
                        操作
                    </th>
                    <td>
                        <div class="col-xs-12 input-group">
                            <form name="form2">
                                <input type="file" name="picpath" id="picpath" style="display:none;" onChange="document.form1.path.value=this.value">
                                <div class="fa fa-camera btn btn-info btn-sm" text-align="center">
                                    <input type="button" value="拍照" onclick="document.form1.picpath.click()" class="btn btn-info btn-sm" >
                                </div>
                            </form>
                        </div>
                    </td>
                </tr>
            </table>

    </tr>
</table>


查看完整描述

1 回答

?
搬砖码农

是 

<td>{{1 + $index}}</td>

里面出不来吗

查看完整回答
反对 回复 2019-03-26

添加回答

回复

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信