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