Subscribe on changes!

有没有这么一种标识符,可以在script setup语法糖定义setup函数之外的属性或方法

avatar
May 9th 2022

Version

3.2.33

Reproduction link

https://www.jxihub.cn/

Steps to reproduce

有没有这么一种标识符,表示所定义的属性或方法是需要定义在setup函数之外的,就像defineComponent中,定义一个asyncData函数,它是和setup函数同级

What is expected?

no

What is actually happening?

no

avatar
May 9th 2022

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.