类似图片的功能,自己动手写一个怎么实现?
1
ijse 2017-08-23 14:05:34 +08:00
搜索 vue click outside,看源码
|
2
dedmon 2017-08-23 14:09:44 +08:00
|
3
airyland 2017-08-23 14:13:53 +08:00
写个 click-outside directive 或者引入已有的插件即可
https://github.com/airyland/vux/blob/v2/src/directives/click-outside/index.js |
4
leekafai 2017-08-23 21:46:55 +08:00 via Android
:active
|