Skip to content

Commit 892c327

Browse files
committed
Compatible wx basic library < 2.2.3
1 parent e65e401 commit 892c327

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/index.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -350,12 +350,9 @@ Component({
350350
this.triggerEvent('cancel', e)
351351
},
352352
},
353-
354-
lifetimes: {
355-
attached() {
356-
if (this.data.autoSelect) {
357-
this.processData()
358-
}
353+
attached() {
354+
if (this.data.autoSelect) {
355+
this.processData()
359356
}
360357
}
361358
})

0 commit comments

Comments
 (0)