From e14358f85a7d32a753225f253ff223d17cf36c25 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 02 Apr 2025 19:10:00 +0800
Subject: [PATCH] style: 风格处理

---
 src/utils/sm2.js |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/utils/sm2.js b/src/utils/sm2.js
index 9df9880..c090592 100644
--- a/src/utils/sm2.js
+++ b/src/utils/sm2.js
@@ -1,5 +1,5 @@
-import website from '@/config/website';
-import smCrypto from 'sm-crypto';
+import website from '@/config/website'
+import smCrypto from 'sm-crypto'
 
 /**
  * sm2 加密方法
@@ -7,9 +7,9 @@
  * @returns {*}
  */
 export function encrypt(data) {
-  try {
-    return smCrypto.sm2.doEncrypt(data, website.oauth2.publicKey, 0);
-  } catch {
-    return '';
-  }
+	try {
+		return smCrypto.sm2.doEncrypt(data, website.oauth2.publicKey, 0)
+	} catch {
+		return ''
+	}
 }

--
Gitblit v1.9.3