This commit is contained in:
Aresn 2021-01-14 14:43:57 +08:00 committed by GitHub
parent 91e7f7f7e3
commit 77c8c66b35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,9 +87,9 @@
} }
}, },
watch: { watch: {
size: function (val, oldVal) { size (val, oldVal) {
if (val !== oldVal) this.setScale(); if (val !== oldVal) this.setScale();
}, }
}, },
methods: { methods: {
setScale () { setScale () {