liweilong
2020-12-23 35d31d5d6105c44e3c0a707f787357f0f86b4b65
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)