---用户管理,网元管理等中英文

This commit is contained in:
lai
2023-11-08 11:21:39 +08:00
parent 8e467b95a2
commit 1bc9358d30
37 changed files with 582 additions and 404 deletions

View File

@@ -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() {