diff --git a/src/components/Excel/src/ExportExcelModal.vue b/src/components/Excel/src/ExportExcelModal.vue index 3023fb48..ace790ba 100644 --- a/src/components/Excel/src/ExportExcelModal.vue +++ b/src/components/Excel/src/ExportExcelModal.vue @@ -9,8 +9,8 @@ import { BasicModal, useModalInner } from '@/components/Modal' import { BasicForm, FormSchema, useForm } from '@/components/Form' import { useI18n } from '@/hooks/web/useI18n' -const emit = defineEmits(['success', 'register']) const { t } = useI18n() +const emit = defineEmits(['success', 'register']) const schemas: FormSchema[] = [ { field: 'filename', diff --git a/src/layouts/default/header/components/lock/LockModal.vue b/src/layouts/default/header/components/lock/LockModal.vue index 6c0ca2b9..1ddac75b 100644 --- a/src/layouts/default/header/components/lock/LockModal.vue +++ b/src/layouts/default/header/components/lock/LockModal.vue @@ -22,8 +22,8 @@ import { computed } from 'vue' import { useI18n } from '@/hooks/web/useI18n' import { useDesign } from '@/hooks/web/useDesign' -import { BasicModal, useModalInner } from '@/components/Modal' import { BasicForm, useForm } from '@/components/Form' +import { BasicModal, useModalInner } from '@/components/Modal' import { useUserStore } from '@/store/modules/user' import { useLockStore } from '@/store/modules/lock' import headerImg from '@/assets/images/header.jpg' diff --git a/src/locales/lang/en/common.ts b/src/locales/lang/en/common.ts index 8c4ba423..d6ef8707 100644 --- a/src/locales/lang/en/common.ts +++ b/src/locales/lang/en/common.ts @@ -6,6 +6,7 @@ export default { cancelText: 'Cancel', loadingText: 'Loading...', saveText: 'Save', + saveSuccessText: 'Save success', delText: 'Delete', delMessage: 'Do you want to delete data?', delSuccessText: 'Delete success', diff --git a/src/locales/lang/zh-CN/common.ts b/src/locales/lang/zh-CN/common.ts index cfa0109b..44f9b6c0 100644 --- a/src/locales/lang/zh-CN/common.ts +++ b/src/locales/lang/zh-CN/common.ts @@ -6,6 +6,7 @@ export default { cancelText: '取消', loadingText: '加载中...', saveText: '保存', + saveSuccessText: '保存成功', delText: '删除', delMessage: '是否要删除数据?', delSuccessText: '删除成功', diff --git a/src/views/base/profile/PasswordModal.vue b/src/views/base/profile/PasswordModal.vue index 64293fae..a8867b73 100644 --- a/src/views/base/profile/PasswordModal.vue +++ b/src/views/base/profile/PasswordModal.vue @@ -5,11 +5,15 @@