
--- client/views/pages/custom/InsertDataAnalytics.vue
+++ client/views/pages/custom/InsertDataAnalytics.vue
... | ... | @@ -366,6 +366,7 @@ |
366 | 366 |
import html2canvas from "html2canvas"; |
367 | 367 |
import DataComponent from "../../component/flowComponent/DataComponent.vue"; |
368 | 368 |
import JobGroupManagement from "../../component/flowComponent/JobGroupManagement.vue"; |
369 |
+import { v4 as uuidv4 } from 'uuid'; |
|
369 | 370 |
|
370 | 371 |
export default { |
371 | 372 |
components: { |
... | ... | @@ -926,8 +927,8 @@ |
926 | 927 |
|
927 | 928 |
// 아이디 만들기 |
928 | 929 |
generateShortUUID() { |
929 |
- const fullUUID = crypto.randomUUID(); |
|
930 |
- return fullUUID.replace(/-/g, '').substring(0, 8); |
|
930 |
+ const uuid = uuidv4(); |
|
931 |
+ return uuid.replace(/-/g, '').substring(0, 8); |
|
931 | 932 |
}, |
932 | 933 |
|
933 | 934 |
// 초기화 버튼 동작 |
--- package-lock.json
+++ package-lock.json
... | ... | @@ -34,6 +34,7 @@ |
34 | 34 |
"quill": "^1.3.7", |
35 | 35 |
"splitter": "^0.1.2", |
36 | 36 |
"url-loader": "4.1.1", |
37 |
+ "uuid": "^11.1.0", |
|
37 | 38 |
"v-tooltip": "^2.1.3", |
38 | 39 |
"vue": "^3.3.0", |
39 | 40 |
"vue-diagram-editor": "^1.2.1", |
... | ... | @@ -9626,6 +9627,19 @@ |
9626 | 9627 |
"base64-arraybuffer": "^1.0.2" |
9627 | 9628 |
} |
9628 | 9629 |
}, |
9630 |
+ "node_modules/uuid": { |
|
9631 |
+ "version": "11.1.0", |
|
9632 |
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.0.tgz", |
|
9633 |
+ "integrity": "sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A==", |
|
9634 |
+ "funding": [ |
|
9635 |
+ "https://github.com/sponsors/broofa", |
|
9636 |
+ "https://github.com/sponsors/ctavan" |
|
9637 |
+ ], |
|
9638 |
+ "license": "MIT", |
|
9639 |
+ "bin": { |
|
9640 |
+ "uuid": "dist/esm/bin/uuid" |
|
9641 |
+ } |
|
9642 |
+ }, |
|
9629 | 9643 |
"node_modules/v-tooltip": { |
9630 | 9644 |
"version": "2.1.3", |
9631 | 9645 |
"resolved": "https://registry.npmjs.org/v-tooltip/-/v-tooltip-2.1.3.tgz", |
--- package.json
+++ package.json
... | ... | @@ -29,6 +29,7 @@ |
29 | 29 |
"quill": "^1.3.7", |
30 | 30 |
"splitter": "^0.1.2", |
31 | 31 |
"url-loader": "4.1.1", |
32 |
+ "uuid": "^11.1.0", |
|
32 | 33 |
"v-tooltip": "^2.1.3", |
33 | 34 |
"vue": "^3.3.0", |
34 | 35 |
"vue-diagram-editor": "^1.2.1", |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?