From 70f01ff4bba6430a63fb6330d5818f52257c84fa Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 04 十一月 2023 13:05:41 +0800
Subject: [PATCH] 2023-11-04

---
 src/tabviews/custom/components/card/cardcellList/index.jsx |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/custom/components/card/cardcellList/index.jsx b/src/tabviews/custom/components/card/cardcellList/index.jsx
index c9f4fe3..9e1377f 100644
--- a/src/tabviews/custom/components/card/cardcellList/index.jsx
+++ b/src/tabviews/custom/components/card/cardcellList/index.jsx
@@ -294,12 +294,13 @@
   
         if (card.datatype === 'static') {
           val = card.value || ''
-          if (/@username@|@fullName@|@mk_city@|@bid@/ig.test(val)) {
+          if (/@username@|@fullName@|@mk_city@|@appname@|@bid@/ig.test(val)) {
             let userName = sessionStorage.getItem('User_Name') || ''
             let fullName = sessionStorage.getItem('Full_Name') || ''
             let city = sessionStorage.getItem('city') || ''
+            let appname = sessionStorage.getItem('appname') || ''
             let bid = data.$$BID || ''
-            val = val.replace(/@username@/ig, userName).replace(/@fullName@/ig, fullName).replace(/@mk_city@/ig, city).replace(/@bid@/ig, bid)
+            val = val.replace(/@username@/ig, userName).replace(/@fullName@/ig, fullName).replace(/@mk_city@/ig, city).replace(/@appname@/ig, appname).replace(/@bid@/ig, bid)
           } else if (/@month@/ig.test(val)) {
             val = val.replace(/@month@/ig, new Date().toLocaleString('en-US', { month: 'long' }))
           } else if (/@week@/ig.test(val)) {

--
Gitblit v1.8.0