Колба не показывает содержимое таблицы, в то время как предварительный просмотр - PullRequest
0 голосов
/ 15 мая 2018

код:

def get_case():
    ...
    table_step = zip(li_host,li_cmd)
    return render_template('auto.html',table_step = table_step)

html:

{% for row in table_step %}
<tr>
  <td>{{ row[0]|safe }}</td>
  <td>{{ row[1]|safe }}</td>
  <td><button type="button" class="btn btn-default"> 编辑 </button></td>
</tr>
{% endfor %}

enter image description here

на фактической странице нет содержимого:

enter image description here

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...