dlt-for-react 1.0.8 → 1.0.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.
- package/README.md +1 -1
- package/lib/utils/index.js +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/utils/index.js
CHANGED
|
@@ -68,7 +68,7 @@ var getOffset = exports.getOffset = function getOffset(ele) {
|
|
|
68
68
|
* @Author: admin
|
|
69
69
|
* @Date: 2020-03-06 09:45:52
|
|
70
70
|
* @LastEditors: jiangzhongxin
|
|
71
|
-
* @LastEditTime: 2023-
|
|
71
|
+
* @LastEditTime: 2023-10-17 09:46:26
|
|
72
72
|
*/
|
|
73
73
|
var getSize = exports.getSize = function getSize() {
|
|
74
74
|
var windowW = void 0,
|
|
@@ -490,6 +490,9 @@ var createScript = exports.createScript = function createScript() {
|
|
|
490
490
|
* @returns
|
|
491
491
|
*/
|
|
492
492
|
var createUuid = exports.createUuid = function createUuid() {
|
|
493
|
+
var len = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 32;
|
|
494
|
+
var radix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 16;
|
|
495
|
+
|
|
493
496
|
var chars = '0123456789abcdefghijklmnopqrstuvwxyz'.split('');
|
|
494
497
|
var uuid = [],
|
|
495
498
|
i;
|