会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
JackGIS
博客园
首页
新随笔
联系
管理
2022年6月6日
vue3 新特性
摘要: 1、setup setup是vue3定义的代码实现舞台。需要在模板中使用的变量和方法,需要return。 setup执行顺序在beforeCreat,并且在setup中this为undefined setUp(props, contex)接受两个参数 props:值为对象,包含:组件外部传递过来,且
阅读全文
posted @ 2022-06-06 16:40 JackGIS
阅读(70)
评论(0)
推荐(0)
编辑
公告