fix(视图): 编辑状态改变视图背景地图中文字没有及时变色

This commit is contained in:
fit2cloud-chenyw 2022-09-29 13:54:22 +08:00
parent d139c7827f
commit 091fd073af
5 changed files with 15 additions and 1 deletions

View File

@ -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

View File

@ -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',

View File

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

View File

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

View File

@ -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() {