溯源地图修改
This commit is contained in:
parent
3a60b54296
commit
a366a3e3c0
@ -47,6 +47,7 @@ export default {
|
|||||||
const option = reactive({});
|
const option = reactive({});
|
||||||
|
|
||||||
watchEffect(() => {
|
watchEffect(() => {
|
||||||
|
regMap(props.name, props.geo);
|
||||||
props.chartData && initCharts();
|
props.chartData && initCharts();
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -66,7 +67,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setOptions(option);
|
setOptions(option);
|
||||||
regMap(props.name, props.geo);
|
|
||||||
onMapClick((data) => {
|
onMapClick((data) => {
|
||||||
emit('click', data);
|
emit('click', data);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user