我发现的问题,meta 标签在 Chrome 开发者工具 Elements 面板里存在:
但是在 view source 里没有:
搜索 StackOverflow,有人遇到了同样的问题。
https://stackoverflow.com/questions/5572297/chrome-inspect-element-vs-view-source
4
View Source in Chrome sends another request for the file, and since it's not authenticated, it returns the source of the login page. This is different from the way say IE works, where the source is cached and returned when you try to view it.
Inspect Element shows the current DOM's snapshot data. This is what you got from making your initial, authenticated request. So yes, this is the "correct" one.
根据回复,以我们在 Inspect Element 里看到的为准。
更多Jerry的原创文章,尽在:"汪子熙":
网友评论