未验证 提交 53e01244 编写于 作者: S songjianet 提交者: GitHub

[Feature][UI Next] Delete edit profile state. (#7966)

上级 2cf609ae
......@@ -107,16 +107,6 @@ const profile = defineComponent({
placeholder={t('profile.phone_tips')}
/>
</NFormItem>
<NFormItem label={t('profile.state')} path='state'>
<NRadioGroup v-model={[this.profileForm.state, 'value']}>
{[
{ value: 1, label: t('profile.enable') },
{ value: 0, label: t('profile.disable') },
].map((item) => {
return <NRadio value={item.value}>{item.label}</NRadio>
})}
</NRadioGroup>
</NFormItem>
</NForm>
),
}}
......
......@@ -32,7 +32,6 @@ export function useForm() {
username: userInfo.userName,
email: userInfo.email,
phone: userInfo.phone,
state: userInfo.state,
},
rules: {
username: {
......@@ -63,7 +62,6 @@ export function useForm() {
username: userInfo.userName,
email: userInfo.email,
phone: userInfo.phone,
state: userInfo.state,
}
})
......
......@@ -33,7 +33,7 @@ export function useUpdate(state: any) {
tenantId: userInfo.tenantId,
email: state.profileForm.email,
phone: state.profileForm.phone,
state: state.profileForm.state,
state: userInfo.state,
queue: userInfo.queue,
})
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册