mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[Improvement] eslint: use vue-libs (#1237)
This commit is contained in:
@@ -72,10 +72,10 @@ export default {
|
||||
|
||||
methods: {
|
||||
onAdd() {
|
||||
Toast(this.$t('add'));
|
||||
this.$toast(this.$t('add'));
|
||||
},
|
||||
onEdit(item, index) {
|
||||
Toast(this.$t('edit') + ':' + index);
|
||||
this.$toast(this.$t('edit') + ':' + index);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user