项目上那些功能合集

114 阅读1分钟

1,动态的图标控制展开状态 重点是:class{}

image.png

2,onClickOutside 点击绑定元素的外部会触发事件,我这里是用来点击input外部的保存事件:

onclickOutside.png