Skip to content

本地运行dist包,报Uncaught TypeError: Cannot assign to read only property 'constructor' of object '#<t>' #1388

@fanxianghuan

Description

@fanxianghuan

Question (问题描述)
本地运行dist包,vue.config.js 的publicPath 已改为'./',运行时报错:Uncaught TypeError: Cannot assign to read only property 'constructor' of object '#'

Describe the solution you'd like (你期待的是什么?)
正常显示index页面

Additional context(附加信息)
截屏2022-09-05 下午3 29 34

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