From 2f8a257efd2b64dc40666b0d332edb7824a9768d Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期日, 27 四月 2025 09:58:29 +0800
Subject: [PATCH] remove all semicolons

---
 src/views/monitor/cache/list.vue |   74 ++++++++++++++++++------------------
 1 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/src/views/monitor/cache/list.vue b/src/views/monitor/cache/list.vue
index c508129..77baec4 100644
--- a/src/views/monitor/cache/list.vue
+++ b/src/views/monitor/cache/list.vue
@@ -155,92 +155,92 @@
 </template>
 
 <script setup name="CacheList">
-import { listCacheName, listCacheKey, getCacheValue, clearCacheName, clearCacheKey, clearCacheAll } from "@/api/monitor/cache";
+import { listCacheName, listCacheKey, getCacheValue, clearCacheName, clearCacheKey, clearCacheAll } from "@/api/monitor/cache"
 
-const { proxy } = getCurrentInstance();
+const { proxy } = getCurrentInstance()
 
-const cacheNames = ref([]);
-const cacheKeys = ref([]);
-const cacheForm = ref({});
-const loading = ref(true);
-const subLoading = ref(false);
-const nowCacheName = ref("");
-const tableHeight = ref(window.innerHeight - 200);
+const cacheNames = ref([])
+const cacheKeys = ref([])
+const cacheForm = ref({})
+const loading = ref(true)
+const subLoading = ref(false)
+const nowCacheName = ref("")
+const tableHeight = ref(window.innerHeight - 200)
 
 /** 鏌ヨ缂撳瓨鍚嶇О鍒楄〃 */
 function getCacheNames() {
-  loading.value = true;
+  loading.value = true
   listCacheName().then(response => {
-    cacheNames.value = response.data;
-    loading.value = false;
-  });
+    cacheNames.value = response.data
+    loading.value = false
+  })
 }
 
 /** 鍒锋柊缂撳瓨鍚嶇О鍒楄〃 */
 function refreshCacheNames() {
-  getCacheNames();
-  proxy.$modal.msgSuccess("鍒锋柊缂撳瓨鍒楄〃鎴愬姛");
+  getCacheNames()
+  proxy.$modal.msgSuccess("鍒锋柊缂撳瓨鍒楄〃鎴愬姛")
 }
 
 /** 娓呯悊鎸囧畾鍚嶇О缂撳瓨 */
 function handleClearCacheName(row) {
   clearCacheName(row.cacheName).then(response => {
-    proxy.$modal.msgSuccess("娓呯悊缂撳瓨鍚嶇О[" + row.cacheName + "]鎴愬姛");
-    getCacheKeys();
-  });
+    proxy.$modal.msgSuccess("娓呯悊缂撳瓨鍚嶇О[" + row.cacheName + "]鎴愬姛")
+    getCacheKeys()
+  })
 }
 
 /** 鏌ヨ缂撳瓨閿悕鍒楄〃 */
 function getCacheKeys(row) {
-  const cacheName = row !== undefined ? row.cacheName : nowCacheName.value;
+  const cacheName = row !== undefined ? row.cacheName : nowCacheName.value
   if (cacheName === "") {
-    return;
+    return
   }
-  subLoading.value = true;
+  subLoading.value = true
   listCacheKey(cacheName).then(response => {
-    cacheKeys.value = response.data;
-    subLoading.value = false;
-    nowCacheName.value = cacheName;
-  });
+    cacheKeys.value = response.data
+    subLoading.value = false
+    nowCacheName.value = cacheName
+  })
 }
 
 /** 鍒锋柊缂撳瓨閿悕鍒楄〃 */
 function refreshCacheKeys() {
-  getCacheKeys();
-  proxy.$modal.msgSuccess("鍒锋柊閿悕鍒楄〃鎴愬姛");
+  getCacheKeys()
+  proxy.$modal.msgSuccess("鍒锋柊閿悕鍒楄〃鎴愬姛")
 }
 
 /** 娓呯悊鎸囧畾閿悕缂撳瓨 */
 function handleClearCacheKey(cacheKey) {
   clearCacheKey(cacheKey).then(response => {
-    proxy.$modal.msgSuccess("娓呯悊缂撳瓨閿悕[" + cacheKey + "]鎴愬姛");
-    getCacheKeys();
-  });
+    proxy.$modal.msgSuccess("娓呯悊缂撳瓨閿悕[" + cacheKey + "]鎴愬姛")
+    getCacheKeys()
+  })
 }
 
 /** 鍒楄〃鍓嶇紑鍘婚櫎 */
 function nameFormatter(row) {
-  return row.cacheName.replace(":", "");
+  return row.cacheName.replace(":", "")
 }
 
 /** 閿悕鍓嶇紑鍘婚櫎 */
 function keyFormatter(cacheKey) {
-  return cacheKey.replace(nowCacheName.value, "");
+  return cacheKey.replace(nowCacheName.value, "")
 }
 
 /** 鏌ヨ缂撳瓨鍐呭璇︾粏 */
 function handleCacheValue(cacheKey) {
   getCacheValue(nowCacheName.value, cacheKey).then(response => {
-    cacheForm.value = response.data;
-  });
+    cacheForm.value = response.data
+  })
 }
 
 /** 娓呯悊鍏ㄩ儴缂撳瓨 */
 function handleClearCacheAll() {
   clearCacheAll().then(response => {
-    proxy.$modal.msgSuccess("娓呯悊鍏ㄩ儴缂撳瓨鎴愬姛");
-  });
+    proxy.$modal.msgSuccess("娓呯悊鍏ㄩ儴缂撳瓨鎴愬姛")
+  })
 }
 
-getCacheNames();
+getCacheNames()
 </script>

--
Gitblit v1.9.3