Quellcode durchsuchen

修复详情页不显示异常

ming vor 1 Jahr
Ursprung
Commit
6029dcfb80
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  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()
           }