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