refactor: 关闭重置密码和修改密码入口
This commit is contained in:
@@ -12,8 +12,6 @@ import { useAuthStore } from '#/store';
|
||||
|
||||
import BaseInfo from './modules/base-info.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 activeName = ref('basicInfo');
|
||||
@@ -51,12 +49,12 @@ onMounted(loadProfile);
|
||||
<Tabs.TabPane key="basicInfo" tab="基本设置">
|
||||
<BaseInfo :profile="profile" @success="refreshProfile" />
|
||||
</Tabs.TabPane>
|
||||
<Tabs.TabPane key="resetPwd" tab="密码设置">
|
||||
<!-- <Tabs.TabPane key="resetPwd" tab="密码设置">
|
||||
<ResetPwd />
|
||||
</Tabs.TabPane>
|
||||
<Tabs.TabPane key="userSocial" tab="社交绑定" force-render>
|
||||
<UserSocial @update:active-name="activeName = $event" />
|
||||
</Tabs.TabPane>
|
||||
</Tabs.TabPane> -->
|
||||
<!-- TODO @芋艿:在线设备 -->
|
||||
</Tabs>
|
||||
</Card>
|
||||
|
||||
@@ -286,12 +286,12 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||
auth: ['system:permission:assign-user-role'],
|
||||
onClick: handleAssignRole.bind(null, row),
|
||||
},
|
||||
{
|
||||
label: '重置密码',
|
||||
type: 'link',
|
||||
auth: ['system:user:update-password'],
|
||||
onClick: handleResetPassword.bind(null, row),
|
||||
},
|
||||
// {
|
||||
// label: '重置密码',
|
||||
// type: 'link',
|
||||
// auth: ['system:user:update-password'],
|
||||
// onClick: handleResetPassword.bind(null, row),
|
||||
// },
|
||||
]"
|
||||
/>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user