mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[bugfix] add click feedback of buttons in components (#248)
* [bugfix] CouponList always show empty info * [bugfix] add click feedback of buttons in components
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<script>
|
||||
import { Toast } from 'packages/index';
|
||||
|
||||
const citys = {
|
||||
'浙江': ['杭州', '宁波', '温州', '嘉兴', '湖州', '绍兴', '金华', '衢州', '舟山', '台州', '丽水'],
|
||||
'福建': ['福州', '厦门', '莆田', '三明', '泉州', '漳州', '南平', '龙岩', '宁德'],
|
||||
@@ -27,10 +29,10 @@ export default {
|
||||
picker.setColumnValues(1, citys[values[0]]);
|
||||
},
|
||||
handlePickerCancel() {
|
||||
alert('picker cancel');
|
||||
Toast('picker cancel');
|
||||
},
|
||||
handlePickerConfirm() {
|
||||
alert('picker confirm');
|
||||
Toast('picker confirm');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -1,4 +1,6 @@
|
||||
<script>
|
||||
import { Toast } from 'packages/index';
|
||||
|
||||
const citys = {
|
||||
'浙江': ['杭州', '宁波', '温州', '嘉兴', '湖州', '绍兴', '金华', '衢州', '舟山', '台州', '丽水'],
|
||||
'福建': ['福州', '厦门', '莆田', '三明', '泉州', '漳州', '南平', '龙岩', '宁德'],
|
||||
@@ -27,10 +29,10 @@ export default {
|
||||
picker.setColumnValues(1, citys[values[0]]);
|
||||
},
|
||||
handlePickerCancel() {
|
||||
alert('picker cancel');
|
||||
Toast('picker cancel');
|
||||
},
|
||||
handlePickerConfirm() {
|
||||
alert('picker confirm');
|
||||
Toast('picker confirm');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -1,4 +1,6 @@
|
||||
<script>
|
||||
import { Toast } from 'packages/index';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
Reference in New Issue
Block a user