Skip to content

usePrevRoute ​

获取前一页面路由信息。

typescript
import { usePrevRoute } from '@uni-helper/uni-use'

const prevRoute = usePrevRoute()

Released under the MIT License.