zhuangyunsheng пре 1 месец
родитељ
комит
851d364f58
3 измењених фајлова са 4 додато и 3 уклоњено
  1. 2 1
      .eslintrc.cjs
  2. 1 1
      src/utils/tool.js
  3. 1 1
      vue.config.js

+ 2 - 1
.eslintrc.cjs

@@ -15,7 +15,8 @@ module.exports = {
         }
         }
     },
     },
     extends: [
     extends: [
-        "plugin:vue/vue3-essential"
+        "plugin:vue/vue3-essential",
+        "./.eslintrc-auto-import.json"
     ],
     ],
     rules: {
     rules: {
         indent: 0,
         indent: 0,

+ 1 - 1
src/utils/tool.js

@@ -193,7 +193,7 @@ tool.crypto = {
 	AES: {
 	AES: {
 		encrypt(data, secretKey, config = {}) {
 		encrypt(data, secretKey, config = {}) {
 			if (secretKey.length % 8 != 0) {
 			if (secretKey.length % 8 != 0) {
-				console.warn("[SCUI error]: 秘钥长度需为8的倍数,否则解密将会失败。")
+				console.warn("[EASYODO error]: 秘钥长度需为8的倍数,否则解密将会失败。")
 			}
 			}
 			const result = CryptoJS.AES.encrypt(data, CryptoJS.enc.Utf8.parse(secretKey), {
 			const result = CryptoJS.AES.encrypt(data, CryptoJS.enc.Utf8.parse(secretKey), {
 				iv: CryptoJS.enc.Utf8.parse(config.iv || ""),
 				iv: CryptoJS.enc.Utf8.parse(config.iv || ""),

+ 1 - 1
vue.config.js

@@ -84,7 +84,7 @@ module.exports = defineConfig({
 			splitChunks: {
 			splitChunks: {
 				chunks: "all",
 				chunks: "all",
 				automaticNameDelimiter: "~",
 				automaticNameDelimiter: "~",
-				name: "scuiChunks",
+				name: "easyodoChunks",
 				cacheGroups: {
 				cacheGroups: {
 					//第三方库抽离
 					//第三方库抽离
 					vendor: {
 					vendor: {