|
@@ -240,7 +240,12 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
formatIndexType(row) {
|
|
formatIndexType(row) {
|
|
- return row.isIndex ? '首页' : '非首页';
|
|
|
|
|
|
+ console.log(row.isIndex);
|
|
|
|
+ if(row.isIndex == 'true'){
|
|
|
|
+ return "首页";
|
|
|
|
+ } else {
|
|
|
|
+ return "非首页";
|
|
|
|
+ }
|
|
},
|
|
},
|
|
// 是否为首页
|
|
// 是否为首页
|
|
isPageHome(row) {
|
|
isPageHome(row) {
|
|
@@ -249,6 +254,7 @@ export default {
|
|
this.isIndex = true;
|
|
this.isIndex = true;
|
|
this.$modal.msgSuccess("已设置为首页");
|
|
this.$modal.msgSuccess("已设置为首页");
|
|
this.resetForm("form");
|
|
this.resetForm("form");
|
|
|
|
+ this.handleQuery();
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
|