摘要:
1 # 一、Vue3.0与Vue2.0生命周期改动 2 beforDestroy改名为beforeUnmount 3 destroyed改名为unmounted 4 # Vue3.0页提供了Composition API形式的生命周期钩子,与Vue2.x中猴子对应关系如下: 5 import {on 阅读全文
posted @ 2022-07-13 17:15
看一百次夜空里的深蓝
阅读(834)
评论(0)
推荐(0)
摘要:
1 # Vue3 计算属性与监视 2 # 1.computed函数:与Vue2.x中的computed配置功能一致 3 inport {ref,computed,watch} from 'vue'; 4 setup(){ 5 let person = { 6 firstName: '张', 7 la 阅读全文
posted @ 2022-07-13 14:48
看一百次夜空里的深蓝
阅读(178)
评论(0)
推荐(0)

浙公网安备 33010602011771号