diff --git a/frontend/src/api/system/dynamic.js b/frontend/src/api/system/dynamic.js index e16d914cca..6ca3f50daf 100644 --- a/frontend/src/api/system/dynamic.js +++ b/frontend/src/api/system/dynamic.js @@ -17,7 +17,8 @@ export function execute(options) { url: options.url, method: options.type, loading: true, - data: options.data + data: options.data, + hideMsg: options.hideMsg } if (options.responseType) { param.responseType = options.responseType diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js index 7f651aa463..178a099f0f 100644 --- a/frontend/src/lang/en.js +++ b/frontend/src/lang/en.js @@ -911,6 +911,7 @@ export default { password_input_error: 'Original password input error' }, chart: { + map_center_lost: 'The graph is missing the centroid or center attribute, please complete it and try again', margin_model: 'Model', margin_model_auto: 'Auto', margin_model_absolute: 'Absolute', diff --git a/frontend/src/lang/tw.js b/frontend/src/lang/tw.js index afbcb185ce..9e18c8acca 100644 --- a/frontend/src/lang/tw.js +++ b/frontend/src/lang/tw.js @@ -911,6 +911,7 @@ export default { password_input_error: '原始密碼輸入錯誤' }, chart: { + map_center_lost: '圖形缺失中心點centroid或center屬性,請補全後再試', margin_model: '模式', margin_model_auto: '自動', margin_model_absolute: '絕對', diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js index 099fff30fc..425c1d028d 100644 --- a/frontend/src/lang/zh.js +++ b/frontend/src/lang/zh.js @@ -910,6 +910,7 @@ export default { password_input_error: '原始密码输入错误' }, chart: { + map_center_lost: '图形缺失中心点centroid或center属性,请补全后再试', margin_model: '模式', margin_model_auto: '自动', margin_model_absolute: '绝对', diff --git a/frontend/src/views/chart/components/ChartComponent.vue b/frontend/src/views/chart/components/ChartComponent.vue index 2593b9d237..e65897ed6d 100644 --- a/frontend/src/views/chart/components/ChartComponent.vue +++ b/frontend/src/views/chart/components/ChartComponent.vue @@ -159,6 +159,16 @@ export default { }, resize() { this.drawEcharts() + }, + 'themeStyle.color'(value, old) { + if (value !== old) { + this.preDraw() + } + }, + 'themeStyle.commonBackground.color'(value, old) { + if (value !== old) { + this.preDraw() + } } }, mounted() {