|
@@ -104,7 +104,7 @@ var app = new Vue({
|
|
|
//获取栏目数据
|
|
|
getColumnData() {
|
|
|
var _this = this;
|
|
|
- if (!localStorage.getItem('storeColumnList') || window.location.pathname == '/index.html' || window.location.pathname == '/') {
|
|
|
+ if (!localStorage.getItem('storeColumnList') || window.location.pathname == '/') {
|
|
|
$.ajax({
|
|
|
type: 'get',
|
|
|
dataType: 'json',
|
|
@@ -237,7 +237,7 @@ var app = new Vue({
|
|
|
|
|
|
|
|
|
// 获取反馈弹框类型数据
|
|
|
- if (_this.columnList[i].sname == '/solution/index.html') {
|
|
|
+ if (_this.columnList[i].sname == '/solution/') {
|
|
|
_this.dialogDataArray = (_this.columnList[i].children)
|
|
|
_this.ruleForm.platName = _this.dialogDataArray[0].categoryName;
|
|
|
}
|
|
@@ -247,7 +247,7 @@ var app = new Vue({
|
|
|
//获取内容
|
|
|
getArticalData(requestParams, type) {
|
|
|
var _this = this
|
|
|
- if (window.location.pathname == '/news/index.html') {
|
|
|
+ if (window.location.pathname == '/news/') {
|
|
|
_this.requestParams.order = ''
|
|
|
}
|
|
|
|