liweilong
2020-12-14 85f2ea3a541e71fe7ed0cf26833f8433ae00790c
src/utils/http.js
@@ -177,7 +177,10 @@
        // ...urlEncodes,
      }
      // // 将请求参数放到链接后面
      var paramsUrl = urlEncode(urlEncodes).replace('&', '?')
      var paramsUrl = urlEncode(urlEncodes)
      if(!/\?/.test(ajaxUrl)) {
          paramsUrl = paramsUrl.replace('&', '?')
      }
      ajaxUrl = ajaxUrl + paramsUrl
      // console.log(ajaxUrl)