mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
Merge branch 'dev' into next
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user