<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>24-Vue-自定义全局过滤器</title> &nbs...
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>24-Vue-自定义全局过滤器</title> &nbs...
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>23-Vue-计算属性和函数</title>  ...
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>22-Vue-计算属性</title> &l...
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>21-常用指令-自定义局部指令</title> &nbs...
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>19-常用指令-自定义指令参数</title> &nbs...
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>18-常用指令-自定义指令</title> ...
1.v-bind的作用v-bind的作用是专门用于给“元素的属性”绑定数据的2.v-bind的格式v-bind:属性名称="绑定的数据":属性名称="绑定的数据"3.v-bind特点赋值的数据可以是任意一个合法的js表达式例如::属性名称="age+1"<!DOCTYPE html><html lang="en"><head>...
v-text指令相当于innerTextv-html指令相当于innerHtml<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>learn vu...
v-cloak:利用v-cloak配合[v-cloak]:{display:none}默认先隐藏未渲染的界面,等到生成HTML渲染之后再重新显示指令作用:数据渲染之后自动显示元素<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8">&...