修改测试bug
This commit is contained in:
@@ -87,8 +87,8 @@ const GetEchar = async (name: string) => {
|
||||
|
||||
geo: {
|
||||
map: name,
|
||||
zoom: 1.2,
|
||||
// top: 0,
|
||||
zoom: 1.1,
|
||||
// top: 10,
|
||||
// bottom: 0,
|
||||
roam: true,
|
||||
label: {
|
||||
@@ -187,6 +187,12 @@ const GetEchar = async (name: string) => {
|
||||
}
|
||||
}
|
||||
})
|
||||
myCharts.value.on('datarangeselected', function (params: any) {
|
||||
// 手动调用restore方法恢复地图的默认颜色映射
|
||||
myCharts.value.dispatchAction({
|
||||
type: 'restore'
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
const MapReturn = (name: string) => {
|
||||
|
||||
Reference in New Issue
Block a user