Commit fcb91519 authored by leiqingsong's avatar leiqingsong

加点注释,不用在意

parent 31041c24
...@@ -420,6 +420,7 @@ export default { ...@@ -420,6 +420,7 @@ export default {
}, },
created() {}, created() {},
methods: { methods: {
// 限制 vant stepper 输入长度
handleProbalitity(val) { handleProbalitity(val) {
if (val.length > 2) { if (val.length > 2) {
document.getElementsByClassName('pro-input')[0].getElementsByTagName('input')[0].maxLength = 3; document.getElementsByClassName('pro-input')[0].getElementsByTagName('input')[0].maxLength = 3;
...@@ -516,6 +517,7 @@ export default { ...@@ -516,6 +517,7 @@ export default {
this.show = true; this.show = true;
this.current_index = index; this.current_index = index;
}, },
// 选择优惠券
onSelect(val) { onSelect(val) {
this.prizeList[this.current_index].checked_coupon = val; this.prizeList[this.current_index].checked_coupon = val;
this.show = false; this.show = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment