-- 可以正常渲染 -->
查阅 Vue 源码之前,先思考,为什么要这样设计?以及如何才能达到上述的效果?...为什么这样设计
以 _ 或 开头的属性 不会 被 Vue 实例代理,因为它们可能和 Vue 内置的属性、API 方法冲突。你可以使用例如 vm.data._property 的方式访问这些属性。...$options.render)
//输出, 模板渲染使用with语句
ƒ anonymous() {
with(this){return _c('div',{attrs:{"id":"test"}...decodeURIComponent,encodeURI,encodeURIComponent,' +
'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON...参考地址
https://cn.vuejs.org/v2/api/#data
https://github.com/vuejs/vue/blob/v2.6.11/dist/vue.js
https://