@netang/quasar 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -454,21 +454,17 @@ export default {
|
|
|
454
454
|
// 格式化当前值
|
|
455
455
|
let val = formatToCurrentValue(currentValue.value, false)
|
|
456
456
|
|
|
457
|
-
//
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
// 更新当前值
|
|
461
|
-
currentValue.value = val
|
|
457
|
+
// 更新当前值
|
|
458
|
+
currentValue.value = val
|
|
462
459
|
|
|
463
|
-
|
|
464
|
-
|
|
460
|
+
// 将当前值转为声明值
|
|
461
|
+
val = formatToModelValue(val)
|
|
465
462
|
|
|
466
|
-
|
|
467
|
-
|
|
463
|
+
// 触发更新值
|
|
464
|
+
emitModelValue(val)
|
|
468
465
|
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
}
|
|
466
|
+
// 失去焦点触发
|
|
467
|
+
emit('blur', val)
|
|
472
468
|
}
|
|
473
469
|
|
|
474
470
|
/**
|