Skip to content

通过vue-property-decorator写的组件在引用的时候会报错 #23

Description

@GOGOGOSIR

image
image
这里的treeLoading是一个data对象的一个属性,但是他会报没有定义,如果使用vue2的export default {} 的语法就是正常的,
我试了好多插件,凡是通过vue-property-decorator写的组件都不行,都会遇到如上问题,是不是vuepress不能够解析这种语法呢?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions