mirror of
https://github.com/youzan/vant.git
synced 2026-05-08 01:07:46 +08:00
[improvement] update lint rules (#3970)
This commit is contained in:
@@ -82,7 +82,7 @@ export default {
|
||||
},
|
||||
|
||||
methods: {
|
||||
onClose(clickPosition, instance, detail) {
|
||||
onClose(clickPosition, instance) {
|
||||
switch (clickPosition) {
|
||||
case 'left':
|
||||
case 'cell':
|
||||
|
||||
@@ -153,7 +153,7 @@ export default createComponent({
|
||||
}
|
||||
},
|
||||
|
||||
render(h) {
|
||||
render() {
|
||||
const onClick = (position, stop) => event => {
|
||||
if (stop) {
|
||||
event.stopPropagation();
|
||||
|
||||
Reference in New Issue
Block a user