fix: 健康管理系统,登录增加注册功能。
This commit is contained in:
@@ -17,6 +17,12 @@
|
|||||||
"navigationBarTitleText": "登录"
|
"navigationBarTitleText": "登录"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/register",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "平台用户注册"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/health/homepage/index",
|
"path": "pages/health/homepage/index",
|
||||||
"style": {
|
"style": {
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ function loginSuccess(result) {
|
|||||||
// 设置用户信息
|
// 设置用户信息
|
||||||
userStore.getInfo().then(res => {
|
userStore.getInfo().then(res => {
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/imaotai/iuser/list'
|
url: '/pages/health/homepage/index'
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
user: {
|
user: {
|
||||||
username: '',
|
username: '',
|
||||||
password: '',
|
password: '',
|
||||||
resource: '3',
|
resource: '2',
|
||||||
confirmPassword: '',
|
confirmPassword: '',
|
||||||
code: '',
|
code: '',
|
||||||
uuid: ''
|
uuid: ''
|
||||||
|
|||||||
Reference in New Issue
Block a user