(el)
| 13577 | |
| 13578 | //获取属性key值,校验key 是否放在template 标签上面 |
| 13579 | function processKey(el) { |
| 13580 | //校验key 有没有放在 |
| 13581 | var exp = getBindingAttr(el, 'key'); |
| 13582 | if (exp) { |
| 13583 | if ("development" !== 'production' && el.tag === 'template') { |
| 13584 | //不能的。把键放在真实的template元素上。 |
| 13585 | warn$2("<template> cannot be keyed. Place the key on real elements instead."); |
| 13586 | } |
| 13587 | el.key = exp; |
| 13588 | } |
| 13589 | } |
| 13590 | |
| 13591 | //获取ref 属性,并且判断ref 是否含有v-for指令 |
| 13592 | function processRef(el) { |
no test coverage detected