refactor: 关闭重置密码和修改密码入口

This commit is contained in:
caiyuchao
2025-08-27 14:21:12 +08:00
parent 70d48f9e0a
commit 482b456495
2 changed files with 8 additions and 10 deletions

View File

@@ -12,8 +12,6 @@ import { useAuthStore } from '#/store';
import BaseInfo from './modules/base-info.vue'; import BaseInfo from './modules/base-info.vue';
import ProfileUser from './modules/profile-user.vue'; import ProfileUser from './modules/profile-user.vue';
import ResetPwd from './modules/reset-pwd.vue';
import UserSocial from './modules/user-social.vue';
const authStore = useAuthStore(); const authStore = useAuthStore();
const activeName = ref('basicInfo'); const activeName = ref('basicInfo');
@@ -51,12 +49,12 @@ onMounted(loadProfile);
<Tabs.TabPane key="basicInfo" tab="基本设置"> <Tabs.TabPane key="basicInfo" tab="基本设置">
<BaseInfo :profile="profile" @success="refreshProfile" /> <BaseInfo :profile="profile" @success="refreshProfile" />
</Tabs.TabPane> </Tabs.TabPane>
<Tabs.TabPane key="resetPwd" tab="密码设置"> <!-- <Tabs.TabPane key="resetPwd" tab="密码设置">
<ResetPwd /> <ResetPwd />
</Tabs.TabPane> </Tabs.TabPane>
<Tabs.TabPane key="userSocial" tab="社交绑定" force-render> <Tabs.TabPane key="userSocial" tab="社交绑定" force-render>
<UserSocial @update:active-name="activeName = $event" /> <UserSocial @update:active-name="activeName = $event" />
</Tabs.TabPane> </Tabs.TabPane> -->
<!-- TODO @芋艿在线设备 --> <!-- TODO @芋艿在线设备 -->
</Tabs> </Tabs>
</Card> </Card>

View File

@@ -286,12 +286,12 @@ const [Grid, gridApi] = useVbenVxeGrid({
auth: ['system:permission:assign-user-role'], auth: ['system:permission:assign-user-role'],
onClick: handleAssignRole.bind(null, row), onClick: handleAssignRole.bind(null, row),
}, },
{ // {
label: '重置密码', // label: '重置密码',
type: 'link', // type: 'link',
auth: ['system:user:update-password'], // auth: ['system:user:update-password'],
onClick: handleResetPassword.bind(null, row), // onClick: handleResetPassword.bind(null, row),
}, // },
]" ]"
/> />
</template> </template>