---用户管理,网元管理等中英文
This commit is contained in:
@@ -41,17 +41,17 @@ function fnEqualToPassword(
|
||||
/**表单验证通过 */
|
||||
function fnFinish() {
|
||||
Modal.confirm({
|
||||
title: '提示',
|
||||
title: t('common.tipTitle'),
|
||||
content: `确认要提交修改密码吗?`,
|
||||
onOk() {
|
||||
state.formClick = true;
|
||||
// 发送请求
|
||||
const hide = message.loading('请稍等...', 0);
|
||||
const hide = message.loading(t('common.loading'), 0);
|
||||
updateUserPwd(state.form.oldPassword, state.form.confirmPassword)
|
||||
.then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
Modal.success({
|
||||
title: '提示',
|
||||
title: t('common.tipTitle'),
|
||||
content: `恭喜您,${userName} 账号密码修改成功!`,
|
||||
okText: '重新登录',
|
||||
onOk() {
|
||||
|
||||
Reference in New Issue
Block a user