网易的同学看这里, 新闻组后端要坑, 模板代码泄露了

2018-01-12 10:36:39 +08:00
 jea

http://help.3g.163.com/18/0108/11/D7KIGS9000968BRP.html 点点看...全挂

{{data.title}}<%if(data.curpage == "all"){%>(全文)<%}%>
<%Date.prototype.format = function(format){ var date = { "M+": this.getMonth() + 1, "d+": this.getDate(), "h+": this.getHours(), "m+": this.getMinutes(), "s+": this.getSeconds(), "q+": Math.floor((this.getMonth() + 3) / 3), "S+": this.getMilliseconds() }; if(/(y+)/i.test(format)){ format = format.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length)); } for (var k in date) { if (new RegExp("(" + k + ")").test(format)) { format = format.replace(RegExp.$1, RegExp.$1.length == 1 ? date[k] : ("00" + date[k]).substr(("" + date[k]).length)); } } return format; } data.formatedTime = new Date(data.ptime).format('yyyy-MM-dd hh:mm:ss')%> {{data.formatedTime}} <%if(data.source){%>来源: 0){%> rel="nofollow"<%}%>>{{data.source}}<%if(data.source_city){%>({{data.source_city}})<%}%><%}%>
4774 次点击
所在节点    全球工单系统
11 条回复
huaxing0211
2018-01-12 10:45:11 +08:00
笑一个~
deali
2018-01-12 10:46:55 +08:00
666
changkong
2018-01-12 10:49:06 +08:00
2333
lizhenda
2018-01-12 10:50:12 +08:00
666
qsnow6
2018-01-12 10:54:48 +08:00
其它页面正常啊
yulitian888
2018-01-12 11:04:27 +08:00
asp.net + vue.js ?
嚯嚯嚯!
lisonfan
2018-01-12 11:05:13 +08:00
@yulitian888 #6 不是 vue 吧,装了 vue 的插件,没亮
shuizhengqi
2018-01-12 11:15:30 +08:00
为什么我是正常的。。
jea
2018-01-12 11:35:12 +08:00
已经默默修复了觉得
Felldeadbird
2018-01-12 11:56:11 +08:00
这个小问题,偶然间会因为渲染不了,就暴露出来。但是刷新一下就正常了。
just1
2018-01-12 11:57:55 +08:00
@lisonfan 服务端渲染

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/422272

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX