Merge branch 'dev' into next

This commit is contained in:
chenjiahan
2020-09-07 20:41:50 +08:00
8 changed files with 20 additions and 22 deletions

View File

@@ -82,9 +82,7 @@ export default createComponent({
],
data() {
const defaultValue = isDef(this.modelValue)
? this.value
: this.defaultValue;
const defaultValue = this.modelValue ?? this.defaultValue;
const value = this.format(defaultValue);
if (!equal(value, this.modelValue)) {