摘要: 1、setup setup是vue3定义的代码实现舞台。需要在模板中使用的变量和方法,需要return。 setup执行顺序在beforeCreat,并且在setup中this为undefined setUp(props, contex)接受两个参数 props:值为对象,包含:组件外部传递过来,且 阅读全文
posted @ 2022-06-06 16:40 JackGIS 阅读(70) 评论(0) 推荐(0) 编辑