Issue #9: Done.
This commit is contained in:
@@ -98,17 +98,14 @@ export default {
|
||||
],
|
||||
curveStyle:'unbundled-bezier', // unbundled-bezier | taxi
|
||||
mapType: 'processMap', // processMap | bpmn
|
||||
dataLayerType: 'freq', // freq | duration
|
||||
dataLayerOption: 'total',
|
||||
dataLayerType: null, // freq | duration
|
||||
dataLayerOption: null,
|
||||
selectedFreq: '',
|
||||
selectedDuration: '',
|
||||
rank: 'LR', // 直向 TB | 橫向 LR
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
ttt(e){
|
||||
console.log(e);
|
||||
},
|
||||
/**
|
||||
* switch map type
|
||||
* @param {string} type processMap | bpmn
|
||||
@@ -156,10 +153,12 @@ export default {
|
||||
this.selectedDuration = value;
|
||||
break;
|
||||
}
|
||||
console.log(type, value);
|
||||
this.$emit('switch-data-layer-type', this.dataLayerType, this.dataLayerOption);
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.dataLayerType = 'freq';
|
||||
this.dataLayerOption = 'total';
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user