navigateTo增加
This commit is contained in:
parent
f11597f7b6
commit
7c8f107849
@ -700,4 +700,9 @@ export const YuLanfile = async (filePath, returnUrlOnly = false) => {
|
|||||||
uni.showToast({ title: '文件加载失败', icon: 'none' });
|
uni.showToast({ title: '文件加载失败', icon: 'none' });
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
export const navigateTo = (path) => {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: path
|
||||||
|
})
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user