From 8f1d5df3d26ff2111fdb5e1149035ac8a12fa348 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Thu, 16 Oct 2025 09:19:29 +0800
Subject: [PATCH] feat:更新新建任务

---
 src/utils/common/index.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/utils/common/index.js b/src/utils/common/index.js
index cb4f733..da64f3f 100644
--- a/src/utils/common/index.js
+++ b/src/utils/common/index.js
@@ -32,6 +32,7 @@
 export function getWebViewUrl(targetUrl,otherParams){
   const userStore = useUserStore()
   const url = import.meta.env.VITE_APP_WEBVIEW_URL
+  console.log(url,686)
   // 构建查询参数
   const params = new URLSearchParams()
   params.append('params', JSON.stringify(userStore?.userInfo))
@@ -41,5 +42,5 @@
       params.append(key, otherParams[key])
     })
   }
-  return `${url}/${targetUrl}?params=${JSON.stringify(userStore?.userInfo)}&${params.toString()}`
+  return `${url}${targetUrl}?${params.toString()}`
 }

--
Gitblit v1.9.3