美化了样式
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import { baseUrl } from "../../../request";
|
||||
import { formatPassword } from "../../../utils/util"
|
||||
const { notLogin } = require('../../../utils/util')
|
||||
|
||||
// pages/personCenter/resetPwd/resetPwd.js
|
||||
Page({
|
||||
@ -45,15 +46,12 @@ Page({
|
||||
})
|
||||
setTimeout(() => {
|
||||
wx.reLaunch({
|
||||
url: '/pages/loginModule/pwdLogin/pwdLogin',
|
||||
url: `/pages/loginModule/pwdLogin/pwdLogin?role=${role}`,
|
||||
})
|
||||
}, 1000); // 1000ms = 1秒
|
||||
|
||||
} else {
|
||||
wx.showModal({
|
||||
title: '提示',
|
||||
content: res.data.message
|
||||
})
|
||||
notLogin(res.data.message)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user