canjs胡子模板在输出中显示__ !! __ __ !! __

时间:2019-05-14 11:35:00

标签: mustache canjs

canjs胡子模板在输出中显示 !! !! 。我只是不知道它从哪里来。我尝试在胡子模板中使用以下代码。它在表格标题上方显示 !! !! ,但不在正文中显示任何内容。如果我使用#each !! ,则会在每个tds中显示

<tbody>
        {{#tableData}}
                <tr>
                    <td>{{group}}</td>
                    <td>{{product}}</td>
                    <td>{{service}}</td>
                    <td>{{country}}</td>
                    <td>
                        <button class="delete-project"
                                        can-click="deleteService" title="Delete"></button>
                    </td>
                </tr>
                {{/tableData}} 
                {{^tableData}}
                <tr>
                <td colspan='13' class="emptyTableMessage">No Data</td>
                </tr>
            {{/tableData}}
</tbody>

0 个答案:

没有答案