mirror of
https://github.com/youzan/vant.git
synced 2025-12-24 02:02:09 +08:00
[improvement] unify mixin name (#2795)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { on, off } from '../utils/event';
|
||||
|
||||
export default config => ({
|
||||
export const ClickOutsideMixin = config => ({
|
||||
mounted() {
|
||||
config.handler = event => {
|
||||
if (!this.$el.contains(event.target)) {
|
||||
|
||||
Reference in New Issue
Block a user