Selaa lähdekoodia

Merge branch 'dev/v4.8.30_zxl' of qmx/jy into feature/v4.8.30

zhangxinlei1996 2 vuotta sitten
vanhempi
commit
cb3982e4d1

+ 1 - 1
src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html

@@ -577,7 +577,7 @@
                         </div>
                         <script>
                             var l_publishtime = {{.T.obj.l_publishtime}};
-                            if(l_publishtime != ""){
+                            if(l_publishtime != "" && l_publishtime!=null){
                                 var tdf = new Date(parseInt(l_publishtime*1000)).pattern('yyyy-MM-dd');
                                 if(tdf != null){
                                     document.write("<span class='timebefore'>"+tdf+"</span>");