@@ -2911,7 +2911,7 @@ function renderList(source, renderItem, cache, index) {
* @private
*/
functioncreateSlots(slots,dynamicSlots){
var_loop=function(i){
var_loop=function(){
varslot=dynamicSlots[i];
// array of dynamic slot generated by <template v-for="..." #[...]>
if(isArray(slot)){
...
...
@@ -2930,7 +2930,7 @@ function createSlots(slots, dynamicSlots) {
}
};
for(vari=0;i<dynamicSlots.length;i++){
_loop(i);
_loop();
}
returnslots;
}
...
...
@@ -3374,62 +3374,60 @@ function applyOptions(instance) {
}
}
if(dataOptions){
(function(){
if(!isFunction(dataOptions)){
warn("The data option must be a function. "+"Plain object usage is no longer supported.");
}
vardata=dataOptions.call(publicThis,publicThis);
if(isPromise(data)){
warn("data() returned a Promise - note data() cannot be async; If you "+"intend to perform data fetching before component renders, use "+"async setup() + <Suspense>.");
warn("The data option must be a function. "+"Plain object usage is no longer supported.");
}
vardata=dataOptions.call(publicThis,publicThis);
if(isPromise(data)){
warn("data() returned a Promise - note data() cannot be async; If you "+"intend to perform data fetching before component renders, use "+"async setup() + <Suspense>.");
@@ -2927,7 +2927,7 @@ function renderList(source, renderItem, cache, index) {
* @private
*/
functioncreateSlots(slots,dynamicSlots){
var_loop=function(i){
var_loop=function(){
varslot=dynamicSlots[i];
// array of dynamic slot generated by <template v-for="..." #[...]>
if(isArray(slot)){
...
...
@@ -2946,7 +2946,7 @@ function createSlots(slots, dynamicSlots) {
}
};
for(vari=0;i<dynamicSlots.length;i++){
_loop(i);
_loop();
}
returnslots;
}
...
...
@@ -3390,62 +3390,60 @@ function applyOptions(instance) {
}
}
if(dataOptions){
(function(){
if(!isFunction(dataOptions)){
warn("The data option must be a function. "+"Plain object usage is no longer supported.");
}
vardata=dataOptions.call(publicThis,publicThis);
if(isPromise(data)){
warn("data() returned a Promise - note data() cannot be async; If you "+"intend to perform data fetching before component renders, use "+"async setup() + <Suspense>.");
warn("The data option must be a function. "+"Plain object usage is no longer supported.");
}
vardata=dataOptions.call(publicThis,publicThis);
if(isPromise(data)){
warn("data() returned a Promise - note data() cannot be async; If you "+"intend to perform data fetching before component renders, use "+"async setup() + <Suspense>.");