bkui-vue 0.0.2-beta.136 → 0.0.2-beta.137
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.
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +4 -1
- package/dist/index.umd.js +1 -1
- package/lib/date-picker/index.js +4 -3
- package/package.json +1 -1
package/lib/date-picker/index.js
CHANGED
@@ -4194,7 +4194,8 @@ function date_picker_objectSpread(target) { for (var i = 1; i < arguments.length
|
|
4194
4194
|
if (props.shortcutSelectedIndex !== -1) {
|
4195
4195
|
shortcut = props.shortcuts[props.shortcutSelectedIndex] || null;
|
4196
4196
|
if (shortcut) {
|
4197
|
-
|
4197
|
+
var v = shortcut.value();
|
4198
|
+
initialValue = Array.isArray(v) ? v : [v];
|
4198
4199
|
}
|
4199
4200
|
}
|
4200
4201
|
var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
|
@@ -4642,8 +4643,8 @@ function date_picker_objectSpread(target) { for (var i = 1; i < arguments.length
|
|
4642
4643
|
if (state.internalValue[0]) {
|
4643
4644
|
// state.focusedDate = state.internalValue[0];
|
4644
4645
|
var _state$internalValue = _slicedToArray(state.internalValue, 1),
|
4645
|
-
|
4646
|
-
state.focusedDate =
|
4646
|
+
_v = _state$internalValue[0];
|
4647
|
+
state.focusedDate = _v;
|
4647
4648
|
}
|
4648
4649
|
state.focusedTime = date_picker_objectSpread(date_picker_objectSpread({}, state.focusedTime), {}, {
|
4649
4650
|
time: state.internalValue.map(extractTime)
|