提交 68ac2a0d authored 作者: wangjiahao's avatar wangjiahao

refactor: 第三方参数解析失败时增加提示

上级 0b786a07
......@@ -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)
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论