以下基于个人经验,不保证正确
基于2.4.2
filter过滤器
- 不能用于v-modle
computed
- 不能在data中引用,例如
data(){
return{
czb:this.czb2
}
},
computed:{
czb2(){
return ...
}
}
- 在template中未绑定的话不会主动执行(即使关联数据改变),在方法中引用的话只在方法调用时调用
以下基于个人经验,不保证正确
data(){
return{
czb:this.czb2
}
},
computed:{
czb2(){
return ...
}
}