Skip to content

#2929 fixed mock server 出现新问题 #2934

@luoqiling

Description

@luoqiling

#2929 fixed mock server 出现新问题:
当mock目录里的接口配置文件被修改后,终端里有提示”> Mock Server hot reload success! changed“,接着在页面里再次发送post请求,提示405(所有post请求失败,除了get请求)

复现步骤:
1、yarn dev
2、修改mock目录里的接口配置文件
3、在页面点击登录(405)

或:
1、yarn dev
2、在页面点击登录(登录成功)
3、修改mock目录里的接口配置文件
4、在页面点击退出(405)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions