Home > front end >  Vue how in v - the use of the model of dynamic will index after string concatenation binding the id
Vue how in v - the use of the model of dynamic will index after string concatenation binding the id

Time:12-01


 
V - model="currentComponent [' prop + currentComponent. Id]"

CurrentComponent is a dynamic value, such as: 0-1-2-3
So only currentComponent. Prop0='123'

The effect of this is not what I want, I want to effect is currentComponent prop0. Num='123'
 
V - model="currentComponent [' prop + currentComponent. Id]. Num"

But such an error, it's too difficult
  • Related