Browse Source

修复详情页不显示异常

ming 1 năm trước cách đây
mục cha
commit
6029dcfb80
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  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()
           }