vue2-client 1.12.11 → 1.12.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/utils/request.js +1 -0
package/package.json
CHANGED
package/src/utils/request.js
CHANGED
|
@@ -159,6 +159,7 @@ function loadInterceptors () {
|
|
|
159
159
|
const v4SessionKey = localStorage.getItem(V4_SESSION_KEY)
|
|
160
160
|
if (['post'].includes(config.method.toLowerCase()) && v4SessionKey &&
|
|
161
161
|
!config.url.includes('/logic/openapi/') &&
|
|
162
|
+
!config.url.includes('devApi') &&
|
|
162
163
|
!config.url.includes('auth/login')) {
|
|
163
164
|
if (config.data && !(config.data instanceof FormData)) {
|
|
164
165
|
config.data = {
|