forked from github/dataease
refactor: 第三方参数解析失败时增加提示
This commit is contained in:
parent
0b786a0721
commit
68ac2a0d1e
@ -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',
|
||||
|
@ -1391,6 +1391,7 @@ export default {
|
||||
sure_bt: '確定'
|
||||
},
|
||||
panel: {
|
||||
json_params_error: '第三方参数解析失败,请检查参数格式是否正确',
|
||||
inner_padding: '内边距',
|
||||
board_radio: '边框半径',
|
||||
background: '背景',
|
||||
|
@ -1399,6 +1399,7 @@ export default {
|
||||
sure_bt: '确定'
|
||||
},
|
||||
panel: {
|
||||
json_params_error: '第三方参数解析失败,请检查参数格式是否正确',
|
||||
inner_padding: '内边距',
|
||||
board_radio: '边框半径',
|
||||
background: '背景',
|
||||
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user