零散事项
Posted qq3279338858
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了零散事项相关的知识,希望对你有一定的参考价值。
- 底层_l
// 根据columnRows返回vnode数组
this._l(columnRows, (columns, rowIndex) =>{
})
- vnode对象包括(vnode并不是vue实例,而是vue实例中渲染函数render执行后生成的结果)
this.tag = tag // 当前节点标签名
this.data = data // 当前节点数据(VNodeData类型)
this.children = children // 当前节点子节点
this.text = text // 当前节点文本
this.elm = elm // 当前节点对应的真实DOM节点
this.ns = undefined // 当前节点命名空间
this.context = context // 当前节点上下文
this.fnContext = undefined // 函数化组件上下文
this.fnOptions = undefined // 函数化组件配置项
this.fnScopeId = undefined // 函数化组件ScopeId
this.key = data && data.key // 子节点key属性
this.componentOptions = componentOptions // 组件配置项
this.componentInstance = undefined // 组件实例
this.parent = undefined // 当前节点父节点
this.raw = false // 是否为原生html或只是普通文本
this.isStatic = false // 静态节点标志 keep-alive
this.isRootInsert = true // 是否作为根节点插入
this.isComment = false // 是否为注释节点
this.isCloned = false // 是否为克隆节点
this.isOnce = false // 是否为v-once节点
this.asyncFactory = asyncFactory // 异步工厂方法
this.asyncMeta = undefined // 异步Meta
this.isAsyncPlaceholder = false // 是否为异步占位
以上是关于零散事项的主要内容,如果未能解决你的问题,请参考以下文章