From d35cf95a096ae21773ca0940499db4a31dae5dd6 Mon Sep 17 00:00:00 2001
From: wayn <1669738430@qq.com>
Date: Sun, 16 Aug 2020 15:57:45 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B4=AD=E7=89=A9=E8=BD=A6?=
=?UTF-8?q?=E5=B1=95=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Vant/index.js | 2 ++
src/views/cart/modules/Item.vue | 8 ++++++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/components/Vant/index.js b/src/components/Vant/index.js
index bdcbffa..d0ae77d 100644
--- a/src/components/Vant/index.js
+++ b/src/components/Vant/index.js
@@ -46,6 +46,7 @@ import {
ContactCard,
ContactList,
ContactEdit,
+ Stepper,
NoticeBar,
Radio,
RadioGroup,
@@ -99,6 +100,7 @@ Vue.use(Toast)
.use(ContactCard)
.use(ContactList)
.use(ContactEdit)
+ .use(Stepper)
.use(NoticeBar)
.use(Radio)
.use(RadioGroup)
diff --git a/src/views/cart/modules/Item.vue b/src/views/cart/modules/Item.vue
index 5355d2e..3b06cab 100644
--- a/src/views/cart/modules/Item.vue
+++ b/src/views/cart/modules/Item.vue
@@ -25,8 +25,9 @@
>{{item}}
-
-
+
+
@@ -70,6 +71,9 @@ export default {
}
}
},
+ data() {
+ return { value: 1 }
+ },
methods: {
// position 为关闭时点击的位置
// instance 为对应的 SwipeCell 实例