From 1a0e1ff751ecc3d01cd5fa04ed47f2fb26d1bd07 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Fri, 04 Jul 2025 16:59:20 +0800
Subject: [PATCH] feat:算法仓库重置清空

---
 src/utils/util.js |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/utils/util.js b/src/utils/util.js
index acf5472..f2b2e09 100644
--- a/src/utils/util.js
+++ b/src/utils/util.js
@@ -130,6 +130,16 @@
 	return `${url.substring(0, lastDotIndex)}_small${url.substring(lastDotIndex)}`
 }
 /**
+ * 获取正射路径
+ * @param url
+ * @returns {string}
+ */
+export const getzsSmallImg = url => {
+	if (!url) return ''
+	const lastDotIndex = url.lastIndexOf('.')
+	return `${url.substring(0, lastDotIndex)}_small.jpeg`
+}
+/**
  * 浏览器判断是否全屏
  */
 export const fullscreenEnable = () => {

--
Gitblit v1.9.3