-
“ReferenceError: defineEmits is not defined”

解决:vue-eslint-parser to v9.0.0 or later. -

解决方法同1 -
The setup binding property “xxx” is already declared as a prop.

解决方法:除了在监听xxx时,其他地方使用props引入的变量时使用 props.xxx的方式。
vue2中使用composition/api, script setup问题记录
最新推荐文章于 2025-03-17 11:38:32 发布
2万+





