Issue #9: Done.

This commit is contained in:
chiayin
2023-10-04 14:26:16 +08:00
parent 3ef7b2502e
commit a41a43e688

View File

@@ -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>