Skip to content

build之后vuex失效 #1357

@zxc7744574

Description

@zxc7744574

Question (问题描述)
npm run build放到正式环境运行,无法获取vuex的所有信息

Describe the solution you'd like (你期待的是什么?)
vue.config.js未动过,是设置问题还是什么原因

Additional context(附加信息)
在本地运行都可以获取vuex的信息,build之后放到正式环境无法获取(不是console无法输出,是放在请求里无法体现)
QQ图片20220630163358
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions