1
0

Slight changes to validator method as per @Justineo's suggestions to preserve IE compatibility.

This commit is contained in:
2021-06-11 10:47:11 +09:00
parent 116253ca1f
commit f283b5622c

View File

@@ -20,8 +20,8 @@ export default {
location: {
type: String,
default: 'end',
validator: function (value) {
return ['start', 'middle', 'end'].includes(value)
validator (value) {
return ['start', 'middle', 'end'].indexOf(value) !== -1
}
},
expanded: Boolean