diff --git a/src/api/index.js b/src/api/index.js index cc6c099..f3d1b83 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -79,7 +79,7 @@ function apiAxios(method, url, params, success, failure) { "Content-Type": conentTypeIsJosn ? "application/json" : "application/x-www-form-urlencoded", // bschapirequest: 1, yschapirequest:1, - yschreferer: this.$utils.strToHexCharCode(window.location.href), + yschreferer: strToHexCharCode(window.location.href), }, }) .then(function (res) {