这是一个创建于 3120 天前的主题,其中的信息可能已经有所发展或是发生改变。
用 chrome 调试, console 里有提示:
The value "device-width;" for key "width" is invalid, and has been ignored.
(index):6 The value "1.0;" for key "initial-scale" was truncated to its numeric prefix.
(index):6 The value "1.0;" for key "maximum-scale" was truncated to its numeric prefix.
(index):6 Error parsing a meta element's content: ';' is not a valid key-value pair separator. Please use ',' instead.
对应页面源码这一行:
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0" name="viewport" />
好像应该用 ‘,’ 而不是 ';'
比如这样:
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1 条回复 • 2016-05-07 12:10:38 +08:00
|
|
1
Livid 2016-05-07 12:10:38 +08:00
谢谢反馈。下次部署时会修正这个问题。
|