From fcb8a7c568bce114f58ccdb7f2aa733c5edb3219 Mon Sep 17 00:00:00 2001 From: Nino Date: Tue, 20 Dec 2016 14:25:58 +0800 Subject: [PATCH] fix error --- dist/quantity/index.js | 4 ++-- dist/tab/index.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dist/quantity/index.js b/dist/quantity/index.js index f2522d70..332bcce4 100644 --- a/dist/quantity/index.js +++ b/dist/quantity/index.js @@ -21,7 +21,7 @@ function callback(componentId, quantity) { } } -var ComponentQuantity = { +var Quantity = { _handleZuiQuantityMinus(e) { handle.call(this, e, -1); }, @@ -58,4 +58,4 @@ var ComponentQuantity = { } }; -module.exports = ComponentQuantity; +module.exports = Quantity; diff --git a/dist/tab/index.js b/dist/tab/index.js index 6e0e33d1..4420cbc9 100644 --- a/dist/tab/index.js +++ b/dist/tab/index.js @@ -11,6 +11,7 @@ var Tab = { } else { console.warn('页面缺少 handleZuiTabChange 回调函数'); } + } }; module.exports = Tab;