vue-property-decorator icon indicating copy to clipboard operation
vue-property-decorator copied to clipboard

关于在data()函数中return的对象之外声明变量的问题

Open developer-qi opened this issue 4 years ago • 0 comments

现在的方式都支持转义为 data() { return { demo: ' } }的这种方式。但是如果我想要这种转义的后果现在文档里没有发现可以实现的途径``data() { var a = 1; return {}`

developer-qi avatar Dec 14 '20 02:12 developer-qi