From 135af12f1989dc1fb280c80eeba00b3cf1e35c01 Mon Sep 17 00:00:00 2001
From: atxy <181850195@smail.nju.edu.cn>
Date: Sun, 12 Sep 2021 13:58:43 +0800
Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BD=BF=E7=94=A8NNTF=E4=BB=A3?=
 =?UTF-8?q?=E6=9B=BFeeTF=E4=BB=A5=E6=8F=90=E5=8D=87=E7=BC=96=E8=AF=91?=
 =?UTF-8?q?=E9=80=9F=E5=BA=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 profile/abstract.sty | 4 ++--
 profile/cover.sty    | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/profile/abstract.sty b/profile/abstract.sty
index 038d8e5..2ae8404 100644
--- a/profile/abstract.sty
+++ b/profile/abstract.sty
@@ -1,7 +1,7 @@
 \ProvidesExplPackage{profile/abstract}{2021-09-11}{0.7.0}{NJU Thesis abstract design}
 
 % 鍒ゆ柇瀛︿綅
-\str_if_eq:eeTF {\nju_degree} { ug } 
+\str_if_eq:NNTF {\nju_degree} { ug } 
 {   
   % 鏈鎽樿鐜
   \NewDocumentEnvironment{abstract} {}
@@ -87,7 +87,7 @@
     \noindent
     姣曚笟璁烘枃棰樼洰锛歕hspace{0.5em}\nju_underline:n {\nju_title\hfill}\\    
     \uline{\makebox[9em]{\nju_major}}涓撲笟\uline{\makebox[4em]{\nju_grade}}绾�
-    \str_if_eq:eeTF {\nju_degree} { d } {鍗殅{纭晑
+    \str_if_eq:NNTF {\nju_degree} { d } {鍗殅{纭晑
     澹敓濮撳悕锛歕uline{\hfill\nju_student_name\hfill} \\
     鎸囧鏁欏笀锛堝鍚嶃€佽亴绉帮級锛歕uline{\hfill\nju_mentor_full\hfill}\par
     \egroup
diff --git a/profile/cover.sty b/profile/cover.sty
index f122e4b..c45fd9f 100644
--- a/profile/cover.sty
+++ b/profile/cover.sty
@@ -29,7 +29,7 @@
 }
 
 % 鍒ゆ柇瀛︿綅杩涜鍛戒护瀹氫箟
-\str_if_eq:eeTF {\nju_degree} { ug } 
+\str_if_eq:NNTF {\nju_degree} { ug } 
 {
   % 鏈
   \tl_const:Nn \nju_degree_name {鏈琝hfill 绉慭hfill }
@@ -81,7 +81,7 @@
 }
 
 % 鍒ゆ柇绫诲瀷
-\str_if_eq:eeTF {\nju_type} {thesis} 
+\str_if_eq:NNTF {\nju_type} {thesis} 
 {
   \tl_const:Nn \nju_type_name 
     { \nju_degree_name 姣昞hfill 涓歕hfill 璁篭hfill 鏂� }
@@ -350,7 +350,7 @@
 
 % 閲嶅畾涔塵aketitle鐢熸垚灏侀潰
 \RenewDocumentCommand \maketitle {} {%
-  \str_if_eq:eeTF {\nju_degree} { ug } 
+  \str_if_eq:NNTF { \nju_degree } { ug } 
   { \nju_printcover_ug } % 鏈灏侀潰
   { \nju_printcover_g } % 鐮旂┒鐢熷皝闈� 
 }
-- 
GitLab