这是一个创建于 3030 天前的主题,其中的信息可能已经有所发展或是发生改变。
<li {% if show_followed %} class="active"{% endif %}>
在 cookie 里面 show_followed 值为 1 ,然后用{% if show_followed %}可以获取 cookie 值,但是在实际上用的时候我没有获取到这个 show_followed 的值,这是为什么呢?求解,在 flask web 开发一书中是可以的。
 |
|
1
sumonian 2016-11-04 11:25:50 +08:00
已知道
|