fix: watch types instead of type

This commit is contained in:
Justineo 2021-09-25 23:45:48 +08:00
parent 1cfff9188c
commit 7ed31cdcc7
No known key found for this signature in database
GPG Key ID: B73F0979CF18A0EA

View File

@ -207,7 +207,7 @@ export default {
} }
}, },
mounted () { mounted () {
['from', 'to', 'compare', 'tag', 'type'].forEach((key) => { ['from', 'to', 'compare', 'tag', 'types'].forEach((key) => {
this.$watch(key, this.updateShrugger) this.$watch(key, this.updateShrugger)
}) })
}, },