mingyang_text 2022.3.11 → 2022.8.8
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/package.json +1 -1
- package/text.js +2 -1
package/package.json
CHANGED
package/text.js
CHANGED
@@ -141,6 +141,7 @@ module.exports.do_TimeID_32 = func_TimeID_32;
|
|
141
141
|
function func_TimeID(args_Digit) {
|
142
142
|
let temp_List = new Array(args_Digit);
|
143
143
|
|
144
|
+
//let temp_PlaceHolder = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"];
|
144
145
|
let temp_PlaceHolder = "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
145
146
|
|
146
147
|
let temp_Time = func_DateTimeToString(null, "yyyy-MMdd-HHmmss-fff");
|
@@ -151,7 +152,7 @@ function func_TimeID(args_Digit) {
|
|
151
152
|
temp_List[temp_Time.length] = "-";
|
152
153
|
|
153
154
|
for (let i = temp_Time.length + 1; i < args_Digit; i++) {
|
154
|
-
temp_List[i] = temp_PlaceHolder
|
155
|
+
temp_List[i] = temp_PlaceHolder[func_Random(0, temp_PlaceHolder.length)];
|
155
156
|
}
|
156
157
|
|
157
158
|
//temp_List[20] = "-";
|