From 288df4881d861abc25c813007ca3bf039736b3e6 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 08 十月 2024 15:18:28 +0800
Subject: [PATCH] 2024-10-08

---
 src/views/tabledesign/index.jsx |    1 +
 src/views/pcdesign/index.jsx    |    1 +
 src/views/mobdesign/index.jsx   |    1 +
 src/views/menudesign/index.jsx  |    1 +
 src/utils/utils.js              |    1 +
 5 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/utils/utils.js b/src/utils/utils.js
index 47394e2..cc69ca5 100644
--- a/src/utils/utils.js
+++ b/src/utils/utils.js
@@ -71,6 +71,7 @@
       uuid.push(_options.substr(Math.floor(Math.random() * 0x20), 1))
     }
     uuid = timestamp + uuid.join('')
+    uuid = uuid.replace(/minke/ig, 'mnkie')
     return uuid
   }
 
diff --git a/src/views/menudesign/index.jsx b/src/views/menudesign/index.jsx
index f85902a..4b91a51 100644
--- a/src/views/menudesign/index.jsx
+++ b/src/views/menudesign/index.jsx
@@ -817,6 +817,7 @@
           for (let i = 0; i < 18; i++) {
             uuid += String.fromCharCode(Math.floor(Math.random() * 26) + 65)
           }
+          uuid = uuid.replace(/minke/ig, 'MNKIE')
           return uuid
         }
 
diff --git a/src/views/mobdesign/index.jsx b/src/views/mobdesign/index.jsx
index fff66dd..a87df2d 100644
--- a/src/views/mobdesign/index.jsx
+++ b/src/views/mobdesign/index.jsx
@@ -1492,6 +1492,7 @@
           for (let i = 0; i < 18; i++) {
             uuid += String.fromCharCode(Math.floor(Math.random() * 26) + 65)
           }
+          uuid = uuid.replace(/minke/ig, 'MNKIE')
           return uuid
         }
 
diff --git a/src/views/pcdesign/index.jsx b/src/views/pcdesign/index.jsx
index 978796c..0638e83 100644
--- a/src/views/pcdesign/index.jsx
+++ b/src/views/pcdesign/index.jsx
@@ -1218,6 +1218,7 @@
           for (let i = 0; i < 18; i++) {
             uuid += String.fromCharCode(Math.floor(Math.random() * 26) + 65)
           }
+          uuid = uuid.replace(/minke/ig, 'MNKIE')
           return uuid
         }
 
diff --git a/src/views/tabledesign/index.jsx b/src/views/tabledesign/index.jsx
index 8d46d4a..80aa91e 100644
--- a/src/views/tabledesign/index.jsx
+++ b/src/views/tabledesign/index.jsx
@@ -577,6 +577,7 @@
           for (let i = 0; i < 18; i++) {
             uuid += String.fromCharCode(Math.floor(Math.random() * 26) + 65)
           }
+          uuid = uuid.replace(/minke/ig, 'MNKIE')
           return uuid
         }
 

--
Gitblit v1.8.0