From 99dfeb5fc86bce593a5d3f43f45c26eedc00ab0a Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期二, 10 九月 2024 16:28:54 +0800
Subject: [PATCH] bug

---
 packageBookService/pages/bookServices/linkPage/index.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/packageBookService/pages/bookServices/linkPage/index.js b/packageBookService/pages/bookServices/linkPage/index.js
index 472c583..138f131 100644
--- a/packageBookService/pages/bookServices/linkPage/index.js
+++ b/packageBookService/pages/bookServices/linkPage/index.js
@@ -23,6 +23,10 @@
         if (key != 'path')
           path = path + key + '=' + options[key] + '&'
       }
+      if (path.lastIndexOf('&') == path.length - 1) {
+        console.log(1);
+        path = path.slice(0, path.length - 1)
+      }
       this.setData({
         path
       })

--
Gitblit v1.9.1