8, 自定义指令 directive 辛_辛 2022-03-03 79 阅读1分钟 指令 自定义指令 生命周期: created beforeMounted mounted beforeUpdate updated beforeMounte unmounted 钩子函数参数: el、binding、vnode 和 prevVnode