fix:编译失败

This commit is contained in:
Jafeng 2026-01-23 11:23:31 +08:00
parent 746ac714e4
commit 17c2e25bc3
3 changed files with 13 additions and 9 deletions

View File

@ -19,12 +19,12 @@
"navigationStyle": "custom"
}
},
{
"path": "pages/message/index",
"style": {
"navigationBarTitleText": "消息"
}
},
// {
// "path": "pages/message/index",
// "style": {
// "navigationBarTitleText": "消息"
// }
// },
{
"path": "pages/message/index",
"style": {

View File

@ -81,7 +81,7 @@ function remind() {
}
function toHome() {
uni.navigateTo({
uni.switchTab({
url: "/pages/message/message",
});
}

View File

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