Skip to content

修复 export default defineComponent #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 23, 2021
Merged

Conversation

liuye1296
Copy link
Contributor

在跟新到 0.1.3 之后 发现 const App = defineComponent export default defineComponent 这些写法 报 default undefined 异常 对比 0.1.2 尝试修复 。目前 const App = defineComponent export default defineComponent 已兼容
不确定 0.1.3 说的 class 装饰器写法是否存在问题

@@ -0,0 +1,18 @@
import {defineComponent, onMounted, ref} from 'vue';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

没有 format 吗

@Amour1688 Amour1688 merged commit 48871a3 into vueComponent:main Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants