utils.ts 126 Bytes
Newer Older
xiaohuoni's avatar
xiaohuoni committed
1
import { parse } from 'query-string';
2 3 4 5

export function getPageQuery() {
  return parse(window.location.href.split('?')[1]);
}