我的bootstrap工具提示出了问题。如果您从其他页面访问该页面,则工具提示将不具有引导样式。但是如果重新加载页面,样式工作正常。
这是我第一次访问页面时的渲染头:
<link href="/assets/custom.css?body=1" media="screen" rel="stylesheet" />
<link href="/assets/bootstrap.css?body=1" media="screen" rel="stylesheet" />
<link href="/assets/bootstrap.min.css?body=1" media="screen" rel="stylesheet" />
<link href="/assets/font-awesome-ie7.css?body=1" media="screen" rel="stylesheet" />
<link href="/assets/font-awesome-ie7.min.css?body=1" media="screen" rel="stylesheet" />
<link href="/assets/font-awesome.css?body=1" media="screen" rel="stylesheet" />
<link href="/assets/font-awesome.min.css?body=1" media="screen" rel="stylesheet" />
<link href="/assets/style.css?body=1" media="screen" rel="stylesheet" />
<link href="/assets/style.min.css?body=1" media="screen" rel="stylesheet" />
<link href="/assets/social-share.css?body=1" media="screen" rel="stylesheet" />
<link href="/assets/index.css?body=1" media="screen" rel="stylesheet" />
<link href="/assets/application.css?body=1" media="screen" rel="stylesheet" />
<script src="/assets/vendor/modernizr.js?body=1"></script>
如果页面重新加载,则磁头保持不变...
以前有没有人遇到这个问题?