Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb44bf8b

Browse files
committed
fix(picker):fix#55
1 parent8a174ac commitb44bf8b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/components/Picker.vue‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ export default {
238238
togglePicker () {
239239
// ---- fix #53 start ----
240240
let elm=this.$refs.defaultActivator&&this.$refs.defaultActivator.$el;
241-
constslotActivator=this.$slots.input&&this.$slots.input.length&&this.$slots.input[0];
241+
// fix #55: this.$slots.input[0] -> this.$slots.input[0].elm
242+
constslotActivator=this.$slots.input&&this.$slots.input.length&&this.$slots.input[0].elm;
242243
if (!elm&& (slotActivator.querySelector('input')||slotActivator.querySelector('button'))) {
243244
elm= slotActivator;
244245
}
@@ -263,7 +264,7 @@ export default {
263264
}else {
264265
this.pickerVisible=!this.pickerVisible;
265266
}
266-
// ---- fix #53start ----
267+
// ---- fix #53end ----
267268
},
268269
pickerStyles () {
269270
return {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp