MCPcopy Create free account
hub / github.com/ygs-code/vue / warnNonPresent

Function warnNonPresent

vue.js:2819–2828  ·  view source on GitHub ↗
(target, key)

Source from the content-addressed store, hash-verified

2817
2818 //不存在的key 发出警告
2819 var warnNonPresent = function (target, key) {
2820 warn(
2821 "Property or method \"" + key + "\" is not defined on the instance but " +
2822 'referenced during render. Make sure that this property is reactive, ' +
2823 'either in the data option, or for class-based components, by ' +
2824 'initializing the property. ' +
2825 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',
2826 target
2827 );
2828 };
2829
2830 //判断 系统内置 函数有没有 es6的Proxy 代理对象api
2831 var hasProxy =

Callers 1

vue.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected