|
@@ -28,7 +28,7 @@
|
|
|
</el-footer>
|
|
|
</template>
|
|
|
<script>
|
|
|
-import { mapGetters } from 'vuex'
|
|
|
+// import { mapGetters } from 'vuex'
|
|
|
export default {
|
|
|
data(){
|
|
|
return{
|
|
@@ -44,34 +44,34 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
- ...mapGetters([
|
|
|
- 'init',
|
|
|
- 'platformID',
|
|
|
- 'isCollapse'
|
|
|
- ]),
|
|
|
+ // ...mapGetters([
|
|
|
+ // 'init',
|
|
|
+ // 'platformID',
|
|
|
+ // 'isCollapse'
|
|
|
+ // ]),
|
|
|
},
|
|
|
- watch: {
|
|
|
- init: {
|
|
|
- handler: function(val, oldVal){
|
|
|
- this.config.value = val
|
|
|
- }
|
|
|
- },
|
|
|
- platformID: {
|
|
|
- handler: function(val, oldVal){
|
|
|
-
|
|
|
- }
|
|
|
- },
|
|
|
- },
|
|
|
- mounted(){
|
|
|
- this.config.value
|
|
|
- },
|
|
|
+ // watch: {
|
|
|
+ // init: {
|
|
|
+ // handler: function(val, oldVal){
|
|
|
+ // this.config.value = val
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // platformID: {
|
|
|
+ // handler: function(val, oldVal){
|
|
|
+ //
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // mounted(){
|
|
|
+ // this.config.value
|
|
|
+ // },
|
|
|
methods: {
|
|
|
- platformShowChange(){
|
|
|
- this.$store.commit('app/setPlatformShow',this.platformshow);
|
|
|
- },
|
|
|
- setCollapse(){
|
|
|
- this.$store.commit('app/setIsCollapse',!this.isCollapse);
|
|
|
- }
|
|
|
+ // platformShowChange(){
|
|
|
+ // this.$store.commit('app/setPlatformShow',this.platformshow);
|
|
|
+ // },
|
|
|
+ // setCollapse(){
|
|
|
+ // this.$store.commit('app/setIsCollapse',!this.isCollapse);
|
|
|
+ // }
|
|
|
|
|
|
}
|
|
|
}
|