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