@@ -5638,30 +5650,30 @@ export default function vueFactory(exports) {
}
if(methods){
for(var_key7inmethods){
varmethodHandler=methods[_key7];
for(var_key8inmethods){
varmethodHandler=methods[_key8];
if(isFunction(methodHandler)){
// In dev mode, we use the `createRenderContext` function to define methods to the proxy target,
// and those are read-only but reconfigurable, so it needs to be redefined here
if(process.env.NODE_ENV!=='production'){
Object.defineProperty(ctx,_key7,{
Object.defineProperty(ctx,_key8,{
value:methodHandler.bind(publicThis),
configurable:true,
enumerable:true,
writable:true
});
}else{
ctx[_key7]=methodHandler.bind(publicThis);
ctx[_key8]=methodHandler.bind(publicThis);
}
if(process.env.NODE_ENV!=='production'){
checkDuplicateProperties('Methods'
/* METHODS */
,_key7);
,_key8);
}
}elseif(process.env.NODE_ENV!=='production'){
warn("Method \"".concat(_key7,"\" has type \"").concat(typeofmethodHandler,"\" in the component definition. ")+"Did you reference the function correctly?");
warn("Method \"".concat(_key8,"\" has type \"").concat(typeofmethodHandler,"\" in the component definition. ")+"Did you reference the function correctly?");
}
}
}
...
...
@@ -5684,25 +5696,25 @@ export default function vueFactory(exports) {
instance.data=reactive(data);
if(process.env.NODE_ENV!=='production'){
var_loop=function_loop(_key8){
var_loop=function_loop(_key9){
checkDuplicateProperties('Data'
/* DATA */
,_key8);// expose data on ctx during dev
,_key9);// expose data on ctx during dev
if(_key8[0]!=='$'&&_key8[0]!=='_'){
Object.defineProperty(ctx,_key8,{
if(_key9[0]!=='$'&&_key9[0]!=='_'){
Object.defineProperty(ctx,_key9,{
configurable:true,
enumerable:true,
get:functionget(){
returndata[_key8];
returndata[_key9];
},
set:NOOP
});
}
};
for(var_key8indata){
_loop(_key8);
for(var_key9indata){
_loop(_key9);
}
}
}
...
...
@@ -5713,22 +5725,22 @@ export default function vueFactory(exports) {