From fe63215b2a98e0fd4c3471d82773db95dbc487cb Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: Sat, 2 Aug 2025 13:40:07 +0800
Subject: [PATCH] v1.9 版本 员工重置密码
---
src/components/staff/resetStaffPwd.vue | 2 +-
src/views/staff/staffList.vue | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/components/staff/resetStaffPwd.vue b/src/components/staff/resetStaffPwd.vue
index 5f3b8f6..3c63249 100644
--- a/src/components/staff/resetStaffPwd.vue
+++ b/src/components/staff/resetStaffPwd.vue
@@ -50,7 +50,7 @@ export default {
const res = await resetStaffPwd(data)
this.$message.success(
- this.$t('staff.resetPasswordSuccess', { pwd: res.pwd }),
+ this.$t('common.resetPwdSuccess', { pwd: res.pwd }),
10000
)
this.$emit('success')
diff --git a/src/views/staff/staffList.vue b/src/views/staff/staffList.vue
index f7d740a..c759541 100644
--- a/src/views/staff/staffList.vue
+++ b/src/views/staff/staffList.vue
@@ -51,7 +51,7 @@
- {{ scope.row.sex === 0 ? $t('staff.male') : $t('staff.female') }}
+ {{ scope.row.sex == 0 ? $t('staff.male') : $t('staff.female') }}
--
libgit2 0.21.4