@@ -135,7 +135,8 @@ var app = new Vue({
}
//首页旧
- if (res.data[i].sname == '/index.html' && window.location.pathname == '/index.html') {
+
+ if (res.data[i].sname == '/index.html' && (window.location.pathname == '/index.html'||window.location.pathname == '/')) {
jQuery.ajax({
type: 'POST',
dataType: 'json',