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) => {