Merge pull request #1990 from dataease/pr@dev@fix_panel-style

fix: 修复第三方参数未启用依然有效的问题
This commit is contained in:
王嘉豪 2022-03-29 12:39:20 +08:00 committed by GitHub
commit cf03e5aed2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 0 deletions

View File

@ -93,6 +93,7 @@
LEFT JOIN panel_outer_params_target_view_info poptvi ON popi.params_info_id = poptvi.params_info_id
WHERE
pop.panel_id = #{panelId} and pop.checked=1
and popi.checked=1
</select>

View File

@ -1390,6 +1390,7 @@ export default {
sure_bt: 'Confirm'
},
panel: {
json_params_error: 'Third Party Parameters Parsing Failed. Please Check Whether The Parameters Format Is Correct',
inner_padding: 'Inner Padding',
board_radio: 'Board Radio',
background: 'Background',

View File

@ -1391,6 +1391,7 @@ export default {
sure_bt: '確定'
},
panel: {
json_params_error: '第三方参数解析失败,请检查参数格式是否正确',
inner_padding: '内边距',
board_radio: '边框半径',
background: '背景',

View File

@ -1399,6 +1399,7 @@ export default {
sure_bt: '确定'
},
panel: {
json_params_error: '第三方参数解析失败,请检查参数格式是否正确',
inner_padding: '内边距',
board_radio: '边框半径',
background: '背景',

View File

@ -81,6 +81,12 @@ export default {
if (--loadingCount === 0) {
this.show = true
}
this.$message({
message: this.$t('panel.json_params_error'),
type: 'error',
showClose: true
})
console.log('outerParams Decode error', e)
}
}