点我去Gitee
点我去Gitee

Uncaught TypeError: Cannot assign to read only property’exports‘ of object’#[Object]‘

Uncaught TypeError: Cannot assign to read only property’exports‘ of object’#[Object]‘

原因

import 不能和module.export混用
用了import 只能用export.default

示例


posted @ 2021-09-23 16:44  biuo  阅读(137)  评论(0编辑  收藏  举报