fix:编译失败
This commit is contained in:
parent
746ac714e4
commit
17c2e25bc3
12
pages.json
12
pages.json
@ -19,12 +19,12 @@
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/message/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "消息"
|
||||
}
|
||||
},
|
||||
// {
|
||||
// "path": "pages/message/index",
|
||||
// "style": {
|
||||
// "navigationBarTitleText": "消息"
|
||||
// }
|
||||
// },
|
||||
{
|
||||
"path": "pages/message/index",
|
||||
"style": {
|
||||
|
||||
@ -81,7 +81,7 @@ function remind() {
|
||||
}
|
||||
|
||||
function toHome() {
|
||||
uni.navigateTo({
|
||||
uni.switchTab({
|
||||
url: "/pages/message/message",
|
||||
});
|
||||
}
|
||||
|
||||
@ -178,7 +178,9 @@ const createDoctorInfo = async () => {
|
||||
icon: "success",
|
||||
});
|
||||
await getDoctorInfo();
|
||||
uni.navigateBack();
|
||||
uni.switchTab({
|
||||
url: "/pages/work/work"
|
||||
});
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: "创建失败",
|
||||
@ -204,7 +206,9 @@ const updateDoctorInfo = async () => {
|
||||
});
|
||||
}
|
||||
await getDoctorInfo();
|
||||
uni.navigateBack();
|
||||
uni.switchTab({
|
||||
url: "/pages/work/work"
|
||||
});
|
||||
};
|
||||
// 打开科室选择
|
||||
const openDepartmentSelect = () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user