File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ export default Vue.extend({
142
142
},
143
143
computed: {
144
144
prependIconColor(): string {
145
- const classIdPattern = / ^ [あ-ん ] {6} $ /
145
+ const classIdPattern = / ^ [あ-んa-zㄅ-ㄩ ] {6} $ /
146
146
if (this .type === ' classId' ) {
147
147
if (! this .value || ! classIdPattern .test (this .value )) return ' #C01B61'
148
148
}
@@ -162,7 +162,7 @@ export default Vue.extend({
162
162
return ' #BDBDBD'
163
163
},
164
164
textFieldColor(): string {
165
- const classIdPattern = / ^ [あ-ん ] {6} $ /
165
+ const classIdPattern = / ^ [あ-んa-zㄅ-ㄩ ] {6} $ /
166
166
if (this .type === ' classId' ) {
167
167
if (! this .value || ! classIdPattern .test (this .value )) return ' #C01B61'
168
168
}
@@ -179,7 +179,7 @@ export default Vue.extend({
179
179
return ' #0071C2'
180
180
},
181
181
prependIcon(): string {
182
- const classIdPattern = / ^ [あ-ん ] {6} $ /
182
+ const classIdPattern = / ^ [あ-んa-zㄅ-ㄩ ] {6} $ /
183
183
if (this .type === ' classId' ) {
184
184
if (! this .value || ! classIdPattern .test (this .value ))
185
185
return ' mdi-alert-circle'
Original file line number Diff line number Diff line change 21
21
color =" #FFDB6C"
22
22
width =" 56px"
23
23
height =" 56px"
24
- :disabled =" !/^[あ-ん ]{6}$/.test(classId)"
24
+ :disabled =" !/^[あ-んa-zㄅ-ㄩ ]{6}$/.test(classId)"
25
25
:loading =" loading"
26
26
@click =" loginToClass"
27
27
>
You can’t perform that action at this time.
0 commit comments