diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js index d0ffa43cec..eb37e57c89 100644 --- a/frontend/src/lang/en.js +++ b/frontend/src/lang/en.js @@ -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', diff --git a/frontend/src/lang/tw.js b/frontend/src/lang/tw.js index abf0e72f3c..6b25732cb4 100644 --- a/frontend/src/lang/tw.js +++ b/frontend/src/lang/tw.js @@ -1391,6 +1391,7 @@ export default { sure_bt: '確定' }, panel: { + json_params_error: '第三方参数解析失败,请检查参数格式是否正确', inner_padding: '内边距', board_radio: '边框半径', background: '背景', diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js index f21957f42d..d9608d703b 100644 --- a/frontend/src/lang/zh.js +++ b/frontend/src/lang/zh.js @@ -1399,6 +1399,7 @@ export default { sure_bt: '确定' }, panel: { + json_params_error: '第三方参数解析失败,请检查参数格式是否正确', inner_padding: '内边距', board_radio: '边框半径', background: '背景', diff --git a/frontend/src/views/link/view/index.vue b/frontend/src/views/link/view/index.vue index 9a5f2a7862..a0ea7a06d1 100644 --- a/frontend/src/views/link/view/index.vue +++ b/frontend/src/views/link/view/index.vue @@ -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) } }