diff --git a/src/components/base-detail-page/index.vue b/src/components/base-detail-page/index.vue index 8944aec..c136ba5 100644 --- a/src/components/base-detail-page/index.vue +++ b/src/components/base-detail-page/index.vue @@ -455,7 +455,7 @@ export default { .then(({ data: res }) => { if (res && res.code === 0) { this.$message({ - message: btn.name === 'save' ? '添加成功!' : '更新成功!', + message: btn.name === 'save' ? i18n.t('prompt.success') : '更新成功!', type: 'success', duration: 1500, onClose: () => { diff --git a/src/components/base-dialog/AttrForm/index.vue b/src/components/base-dialog/AttrForm/index.vue index 0ab0631..26be59b 100644 --- a/src/components/base-dialog/AttrForm/index.vue +++ b/src/components/base-dialog/AttrForm/index.vue @@ -1,6 +1,8 @@