質問編集履歴

1

誤字

2020/06/20 10:59

投稿

shimon11
shimon11

スコア50

test CHANGED
File without changes
test CHANGED
@@ -6,9 +6,9 @@
6
6
 
7
7
  <div class="select__wrapper">
8
8
 
9
- <select class="select__select" :value="value" @change="onItemChanged">
9
+ <select class="select__select" :value="value">
10
10
 
11
- <option value="" disabled selected style="display:none;">
11
+ <option value="" disabled selected>
12
12
 
13
13
  選択してください
14
14
 
@@ -62,12 +62,6 @@
62
62
 
63
63
  return item === this.value
64
64
 
65
- },
66
-
67
- onItemChanged(event) {
68
-
69
- this.$emit('input', event.target.value)
70
-
71
65
  }
72
66
 
73
67
  }