Skip to content

Commit

Permalink
fix(getCurrentPagePath): 从 utils 引入 last
Browse files Browse the repository at this point in the history
  • Loading branch information
fjc0k committed Aug 31, 2020
1 parent 9cd96aa commit 6a5ef5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mp/getCurrentPagePath.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// <reference types="miniprogram-api-typings" />
import { AnyObject } from '../types'
import { ensureInMiniProgram } from './ensureInMiniProgram'
import { last } from 'lodash'
import { last } from '../utils'

/**
* 获取当前页面的路径(不含查询参数),始终以 `/` 开头。
Expand Down

0 comments on commit 6a5ef5f

Please sign in to comment.