feat: 主页流程提示页面未完成

This commit is contained in:
caoqianming 2025-12-16 13:37:08 +08:00
parent f129612d40
commit a82c414693
1 changed files with 8 additions and 0 deletions

View File

@ -108,6 +108,14 @@
let view_path = item.view_path2?item.view_path2:item.view_path; let view_path = item.view_path2?item.view_path2:item.view_path;
uni.navigateTo({ uni.navigateTo({
url:`/pages${view_path}?mode=add` url:`/pages${view_path}?mode=add`
}).catch(e=>{
console.log(e)
if (e.errMsg.indexOf("not found")!=-1){
uni.showToast({
title: '该页面暂未完成',
icon: 'none'
});
}
}) })
} }
} }