Преглед на файлове

修复详情页不显示异常

ming преди 1 година
родител
ревизия
6029dcfb80
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      assets/js/commonVue.js

+ 3 - 3
assets/js/commonVue.js

@@ -193,16 +193,16 @@ var app = new Vue({
 
 
           // 进入详情页
-          if (_this.columnList[i].sname == '/product/index.html' && window.location.pathname == '/product/read.html') {
+          if (_this.columnList[i].sname == '/product/' && window.location.pathname == '/product/read.html') {
 
             getDetailCommon()
             getSeoCommon()
           }
-          if (_this.columnList[i].sname == '/solution/index.html' && window.location.pathname == '/solution/read.html') {
+          if (_this.columnList[i].sname == '/solution/' && window.location.pathname == '/solution/read.html') {
             getDetailCommon()
             getSeoCommon()
           }
-          if (_this.columnList[i].sname == '/news/index.html' && window.location.pathname == '/news/read.html') {
+          if (_this.columnList[i].sname == '/news/' && window.location.pathname == '/news/read.html') {
             getDetailCommon()
             getSeoCommon()
           }