forked from github/dataease
Merge branch 'dev' of github.com:dataease/dataease into dev
This commit is contained in:
commit
af79e725a3
@ -44,9 +44,9 @@ public class ShiroServiceImpl implements ShiroService {
|
|||||||
|
|
||||||
//验证链接
|
//验证链接
|
||||||
filterChainDefinitionMap.put("/api/link/validate**", ANON);
|
filterChainDefinitionMap.put("/api/link/validate**", ANON);
|
||||||
|
filterChainDefinitionMap.put("/api/map/areaEntitys/**", ANON);
|
||||||
|
|
||||||
|
filterChainDefinitionMap.put("/**/*.json", ANON);
|
||||||
|
|
||||||
filterChainDefinitionMap.put("/system/ui/**", ANON);
|
filterChainDefinitionMap.put("/system/ui/**", ANON);
|
||||||
filterChainDefinitionMap.put("/**/*.js", ANON);
|
filterChainDefinitionMap.put("/**/*.js", ANON);
|
||||||
filterChainDefinitionMap.put("/**/*.css", ANON);
|
filterChainDefinitionMap.put("/**/*.css", ANON);
|
||||||
|
@ -39,6 +39,10 @@ export function baseMapOption(chart_option, chart) {
|
|||||||
})
|
})
|
||||||
chart_option.visualMap.min = Math.min(...values)
|
chart_option.visualMap.min = Math.min(...values)
|
||||||
chart_option.visualMap.max = Math.max(...values)
|
chart_option.visualMap.max = Math.max(...values)
|
||||||
|
if (chart_option.visualMap.min === chart_option.visualMap.max) {
|
||||||
|
chart_option.visualMap.min = 0
|
||||||
|
}
|
||||||
|
|
||||||
if (customAttr.color && customAttr.color.colors) {
|
if (customAttr.color && customAttr.color.colors) {
|
||||||
chart_option.visualMap.inRange.color = customAttr.color.colors
|
chart_option.visualMap.inRange.color = customAttr.color.colors
|
||||||
}
|
}
|
||||||
|
@ -1023,7 +1023,7 @@ export default {
|
|||||||
if (!response.data.drill) {
|
if (!response.data.drill) {
|
||||||
this.drillClickDimensionList.splice(this.drillClickDimensionList.length - 1, 1)
|
this.drillClickDimensionList.splice(this.drillClickDimensionList.length - 1, 1)
|
||||||
}
|
}
|
||||||
this.drillFilters = JSON.parse(JSON.stringify(response.data.drillFilters))
|
this.drillFilters = JSON.parse(JSON.stringify(response.data.drillFilters ? response.data.drillFilters : []))
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
this.resetView()
|
this.resetView()
|
||||||
this.resetDrill()
|
this.resetDrill()
|
||||||
|
Loading…
Reference in New Issue
Block a user