zhuf 1 년 전
부모
커밋
c395b25853
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/config/app.js

+ 1 - 1
src/config/app.js

@@ -1,5 +1,5 @@
 // 将window.location.search 转为对象
-export const searchObj = decodeURIComponent(window.location.search)
+export const searchObj = search = decodeURIComponent(window.location.search)
   .slice(1)
   .split('&')
   .reduce((obj, item) => {