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
- descriptions.push(lodash_1.default.padStart((timestamp / seconds).toString(), 2, "0") + (chinese ? '秒' : ''));
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
- descriptions.push(lodash_1.default.padStart((timestamp / seconds).toString(), 2, "0") + (chinese ? '秒' : ''));
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fast-vue-multi-pages",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "author": "janesen",
5
5
  "description": "快速搭建VUE项目工具类的基本库,主要用于每个功能页面独立生成html",
6
6
  "main": "./dist/cjs/index.js",