From 4b079802c38d05f432db6afdebd07d502d53e03a Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Mon, 9 Jan 2023 11:51:08 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E7=AC=AC=E4=B8=89=E6=96=B9=E5=B9=B3=E5=8F=B0=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=A6=81=E6=AD=A2=E9=87=8D=E7=BD=AE=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/system/user/index.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/views/system/user/index.vue b/frontend/src/views/system/user/index.vue index cd3b941850..4f9bdb603f 100644 --- a/frontend/src/views/system/user/index.vue +++ b/frontend/src/views/system/user/index.vue @@ -285,6 +285,7 @@ {{ $t("member.edit_password") }} @@ -436,6 +437,9 @@ export default { bus.$off('reload-user-grid', this.search) }, methods: { + resetPwdDisabled(row) { + return ((row.from ?? '') !== '') && row.from > 0 + }, resizeObserver() { this.resizeForFilter = new ResizeObserver(entries => { if (!this.filterTexts.length) return