使用flask-moment模块时间无法显示
发布时间:2020-12-17 17:03:02 所属栏目:Python 来源:网络整理
导读:使用flask-moment模块时间无法显示 span?class="flask-moment"?data-timestamp="2017-02-24T18:52:07Z"?data-format="format('LLL')"?data-refresh="0"?style="display:?none"2017-02-24T18:52:07Z/span 原因是因为调用flask-moment模块,生成的时间会自动添
使用flask-moment模块时间无法显示 <span?class="flask-moment"?data-timestamp="2017-02-24T18:52:07Z"? data-format="format('LLL')"? data-refresh="0"?style="display:?none">2017-02-24T18:52:07Z</span> 原因是因为调用flask-moment模块,生成的时间会自动添加style="display: none" 解决方法: ????1.直接在网页中把style="display: none"去掉。 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |