From 7c8f1078497ef7922a6f70d8b1c07b928eb8b4c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rhett=E9=9C=8D?= <741354752@qq.com> Date: Mon, 16 Mar 2026 12:09:15 +0800 Subject: [PATCH] =?UTF-8?q?navigateTo=E5=A2=9E=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/utils.js | 5 +++++ 1 file changed, 5 insertions(+) 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