fast-vue-multi-pages 1.1.1 → 1.1.2
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.
@@ -122,7 +122,8 @@ class FastVueMultiDate {
|
|
122
122
|
return descriptions.join("");
|
123
123
|
}
|
124
124
|
else if (timestamp < minuteUnit) {
|
125
|
-
|
125
|
+
let second = parseInt((timestamp / seconds).toString());
|
126
|
+
descriptions.push(lodash_1.default.padStart(second.toString(), 2, "0") + (chinese ? '秒' : ''));
|
126
127
|
return descriptions.join("");
|
127
128
|
}
|
128
129
|
if (timestamp < hourUnit) {
|
@@ -123,7 +123,8 @@ define(["require", "exports", "tslib", "moment", "lodash", "./FastVueMultiObject
|
|
123
123
|
return descriptions.join("");
|
124
124
|
}
|
125
125
|
else if (timestamp < minuteUnit) {
|
126
|
-
|
126
|
+
var second = parseInt((timestamp / seconds).toString());
|
127
|
+
descriptions.push(lodash_1.default.padStart(second.toString(), 2, "0") + (chinese ? '秒' : ''));
|
127
128
|
return descriptions.join("");
|
128
129
|
}
|
129
130
|
if (timestamp < hourUnit) {
|