mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
chore: add trailingComma
This commit is contained in:
@@ -66,9 +66,9 @@ export default {
|
||||
column2: [{ text: '杭州', disabled: true }, { text: '宁波' }, { text: '温州' }],
|
||||
column3: {
|
||||
浙江: ['杭州', '宁波', '温州', '嘉兴', '湖州'],
|
||||
福建: ['福州', '厦门', '莆田', '三明', '泉州']
|
||||
福建: ['福州', '厦门', '莆田', '三明', '泉州'],
|
||||
},
|
||||
toastContent: (value, index) => `当前值:${value}, 当前索引:${index}`
|
||||
toastContent: (value, index) => `当前值:${value}, 当前索引:${index}`,
|
||||
},
|
||||
'en-US': {
|
||||
city: 'City',
|
||||
@@ -82,20 +82,20 @@ export default {
|
||||
column2: [
|
||||
{ text: 'Delaware', disabled: true },
|
||||
{ text: 'Florida' },
|
||||
{ text: 'Georqia' }
|
||||
{ text: 'Georqia' },
|
||||
],
|
||||
column3: {
|
||||
Group1: ['Delaware', 'Florida', 'Georqia', 'Indiana', 'Maine'],
|
||||
Group2: ['Alabama', 'Kansas', 'Louisiana', 'Texas']
|
||||
Group2: ['Alabama', 'Kansas', 'Louisiana', 'Texas'],
|
||||
},
|
||||
toastContent: (value, index) => `Value: ${value}, Index:${index}`
|
||||
}
|
||||
toastContent: (value, index) => `Value: ${value}, Index:${index}`,
|
||||
},
|
||||
},
|
||||
|
||||
data() {
|
||||
return {
|
||||
showPicker: false,
|
||||
fieldValue: ''
|
||||
fieldValue: '',
|
||||
};
|
||||
},
|
||||
|
||||
@@ -105,15 +105,15 @@ export default {
|
||||
return [
|
||||
{
|
||||
values: Object.keys(column),
|
||||
className: 'column1'
|
||||
className: 'column1',
|
||||
},
|
||||
{
|
||||
values: column[Object.keys(column)[0]],
|
||||
className: 'column2',
|
||||
defaultIndex: 2
|
||||
}
|
||||
defaultIndex: 2,
|
||||
},
|
||||
];
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
methods: {
|
||||
@@ -144,7 +144,7 @@ export default {
|
||||
|
||||
onCancel2() {
|
||||
this.showPicker = false;
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user