@kizmann/nano-ui 0.8.16 → 0.8.19
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -100,7 +100,7 @@ export default {
|
|
100
100
|
format: {
|
101
101
|
default()
|
102
102
|
{
|
103
|
-
return
|
103
|
+
return 'YYYY-MM-DD HH:mm:ss';
|
104
104
|
},
|
105
105
|
type: [String]
|
106
106
|
},
|
@@ -317,8 +317,11 @@ export default {
|
|
317
317
|
|
318
318
|
renderDatePanel()
|
319
319
|
{
|
320
|
-
|
321
|
-
|
320
|
+
let props = Obj.only(this.$props, [
|
321
|
+
'minDate', 'maxDate', 'size', 'type', 'format', 'monthPanels', 'disabled', 'weekdays', 'months'
|
322
|
+
]);
|
323
|
+
|
324
|
+
props = Obj.assign(props, {
|
322
325
|
modelValue: this.tempValue.format(this.format) || null,
|
323
326
|
});
|
324
327
|
|
@@ -331,8 +334,11 @@ export default {
|
|
331
334
|
|
332
335
|
renderTimePanel()
|
333
336
|
{
|
337
|
+
let props = Obj.only(this.$props, [
|
338
|
+
'size', 'type', 'format', 'disabled', 'hoursInterval', 'minutesInterval', 'secondsInterval'
|
339
|
+
]);
|
334
340
|
|
335
|
-
|
341
|
+
props = Obj.assign(props, {
|
336
342
|
modelValue: this.tempValue.format(this.format) || null,
|
337
343
|
});
|
338
344
|
|