From 3fc2747d7ad869fd9040e30a7588a439b6b3ccf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Tue, 17 Sep 2019 18:16:13 +0800 Subject: [PATCH] global setting add capture --- src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.js b/src/index.js index 9e01636e..bc303fd5 100644 --- a/src/index.js +++ b/src/index.js @@ -173,6 +173,7 @@ const install = function(Vue, opts = {}) { Vue.prototype.$IVIEW = { size: opts.size || '', transfer: 'transfer' in opts ? opts.transfer : '', + capture: 'capture' in opts ? opts.capture : true, select: { arrow: opts.select ? opts.select.arrow ? opts.select.arrow : '' : '', customArrow: opts.select ? opts.select.customArrow ? opts.select.customArrow : '' : '',