demo预览:https://sunzsh.github.io/vue-demos/#/clickoutside代码:https://github.com/sunzsh/vue-el-demo/blob/master/src/views/clickoutside.vue