From 3929710809518d4e3c1a1475c08927e24ae4334c Mon Sep 17 00:00:00 2001 From: liyang <1711467488@qq.com> Date: Sat, 13 Oct 2018 20:50:55 +0800 Subject: [PATCH] no message Former-commit-id: 8a1bbc6a42e8679d9edb3a2ee6e3d0a7022dec34 --- src/mock/index.js | 4 ++-- src/mock/{plugin/mock-cookie => patch/cookie}/index.js | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename src/mock/{plugin/mock-cookie => patch/cookie}/index.js (100%) diff --git a/src/mock/index.js b/src/mock/index.js index f266338..0a81b2c 100644 --- a/src/mock/index.js +++ b/src/mock/index.js @@ -1,9 +1,9 @@ import Mock from 'mockjs' // 补丁 解决 mock.js 影响 Cookie 携带 -import MockCookie from './plugin/mock-cookie' +import PatchCookie from './patch/cookie' -MockCookie(Mock) +PatchCookie(Mock) // 导入所有的接口 const req = context => context.keys().map(context) diff --git a/src/mock/plugin/mock-cookie/index.js b/src/mock/patch/cookie/index.js similarity index 100% rename from src/mock/plugin/mock-cookie/index.js rename to src/mock/patch/cookie/index.js