|
@@ -67,11 +67,10 @@ export default {
|
|
|
menuColor: 'rgb(254, 149, 14)',
|
|
|
menuIndex: '0',
|
|
|
columnName: '',
|
|
|
- display: '',
|
|
|
+ display: '0',
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- this.$set(this, `display`, this.displays);
|
|
|
this.searchInfo();
|
|
|
},
|
|
|
methods: {
|
|
@@ -85,19 +84,21 @@ export default {
|
|
|
this.menuIndex = index;
|
|
|
this.columnName = name;
|
|
|
this.menuColor = 'rgb(254, 149, 14)';
|
|
|
- this.display = '0';
|
|
|
},
|
|
|
},
|
|
|
computed: {
|
|
|
...mapState(['user']),
|
|
|
+ dispaly() {
|
|
|
+ return this.$route.query.display;
|
|
|
+ },
|
|
|
pageTitle() {
|
|
|
return `${this.$route.meta.title}`;
|
|
|
},
|
|
|
col_name() {
|
|
|
return this.$route.query.col_name;
|
|
|
},
|
|
|
- displays() {
|
|
|
- return this.$route.query.display;
|
|
|
+ id() {
|
|
|
+ return this.$route.query.id;
|
|
|
},
|
|
|
},
|
|
|
metaInfo() {
|