Vue composition api - pass a variable to my component data()?

后端 未结 0 1406
梦谈多话
梦谈多话 2020-12-08 19:41

If I set a var in setup

 setup(props, context) {
    
        let name = "Tommy";
    }

Is it possible to set this so it can be use

相关标签:
回答
  • 消灭零回复
提交回复
热议问题