usePrevRoute

获取前一页面路由信息。

获取前一页面路由信息。

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

const prevRoute = usePrevRoute()