Skip to content

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

@GOGOGOSIR

Description

@GOGOGOSIR

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

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