Merge pull request #3253 from dataease/pr@dev@fix_view_bg

fix(视图): 编辑状态改变视图背景地图中文字没有及时变色
This commit is contained in:
xuwei-fit2cloud 2022-09-29 14:00:58 +08:00 committed by GitHub
commit be6aa7408a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 1 deletions

View File

@ -17,7 +17,8 @@ export function execute(options) {
url: options.url, url: options.url,
method: options.type, method: options.type,
loading: true, loading: true,
data: options.data data: options.data,
hideMsg: options.hideMsg
} }
if (options.responseType) { if (options.responseType) {
param.responseType = options.responseType param.responseType = options.responseType

View File

@ -911,6 +911,7 @@ export default {
password_input_error: 'Original password input error' password_input_error: 'Original password input error'
}, },
chart: { chart: {
map_center_lost: 'The graph is missing the centroid or center attribute, please complete it and try again',
margin_model: 'Model', margin_model: 'Model',
margin_model_auto: 'Auto', margin_model_auto: 'Auto',
margin_model_absolute: 'Absolute', margin_model_absolute: 'Absolute',

View File

@ -911,6 +911,7 @@ export default {
password_input_error: '原始密碼輸入錯誤' password_input_error: '原始密碼輸入錯誤'
}, },
chart: { chart: {
map_center_lost: '圖形缺失中心點centroid或center屬性請補全後再試',
margin_model: '模式', margin_model: '模式',
margin_model_auto: '自動', margin_model_auto: '自動',
margin_model_absolute: '絕對', margin_model_absolute: '絕對',

View File

@ -910,6 +910,7 @@ export default {
password_input_error: '原始密码输入错误' password_input_error: '原始密码输入错误'
}, },
chart: { chart: {
map_center_lost: '图形缺失中心点centroid或center属性请补全后再试',
margin_model: '模式', margin_model: '模式',
margin_model_auto: '自动', margin_model_auto: '自动',
margin_model_absolute: '绝对', margin_model_absolute: '绝对',

View File

@ -159,6 +159,16 @@ export default {
}, },
resize() { resize() {
this.drawEcharts() this.drawEcharts()
},
'themeStyle.color'(value, old) {
if (value !== old) {
this.preDraw()
}
},
'themeStyle.commonBackground.color'(value, old) {
if (value !== old) {
this.preDraw()
}
} }
}, },
mounted() { mounted() {