Après avoir suivi, vous pouvez suivre ses informations dynamiques en temps opportun
Cours dans la section correspondante:liaison de données
1.单向绑定(v-bind) 2.双向绑定(v-model)
2023-02-160个赞
Cours dans la section correspondante:$nextTick
nextTick(),是将回调函数延迟在下一次dom更新数据后调用,简单的理解是:当数据更新了,在dom中渲染后,自动执行该函数,
2023-03-310个赞
Cours dans la section correspondante:Configurer proxy_Method 1
安装axios:npm i axios
2023-03-300个赞
Cours dans la section correspondante:emplacement nommé
1.template 只能配合v-slot使用
2023-03-310个赞
Cours dans la section correspondante:Créer un environnement Vuex
安装vuex:npm i vuex
2023-03-310个赞
Cours dans la section correspondante:Sommation de la version case_vuex
store{ actions, mutations, state }
2023-03-310个赞
Cours dans la section correspondante:mapState et mapGetters
mapState,mapGetters
2023-04-040个赞
Cours dans la section correspondante:mapActions et mapMutations
mapActions({}) mapMutations({})
2023-04-040个赞
Cours dans la section correspondante:Utilisation de base du routage
安装路由:npm i vue-router
2023-04-050个赞
Cours dans la section correspondante:Paramètres des paramètres de route
使用params传参数,配置项不能用path,只能用name
2023-04-060个赞
Cours dans la section correspondante:composant de routage du cache
News是组件的名字,在组件中必须配置name:“News”
2023-04-060个赞
Cours dans la section correspondante:Deux nouveaux hooks de cycle de vie
路由生命钩子: 组件激活(activated) 组件失活(deactivated)
2023-04-060个赞
Cours dans la section correspondante:modèle de boîte de ligne
1.常见的行盒:span,em,i,img,strong,audio,video 2.行块盒:具有行盒和块盒的属性
2022-07-020个赞