diff --git a/utils/utils.js b/utils/utils.js index 32e319a..0a3e19e 100644 --- a/utils/utils.js +++ b/utils/utils.js @@ -700,4 +700,9 @@ export const YuLanfile = async (filePath, returnUrlOnly = false) => { uni.showToast({ title: '文件加载失败', icon: 'none' }); throw error; } +} +export const navigateTo = (path) => { + uni.navigateTo({ + url: path + }) } \ No newline at end of file