zhuf 1 anno fa
parent
commit
c395b25853
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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) => {