From 06a670976e2145a10ea05207041d3cf3164cd380 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 03 二月 2024 18:13:25 +0800
Subject: [PATCH] Merge branch 'positec' into dms

---
 src/tabviews/zshare/actionList/newpagebutton/index.jsx |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/zshare/actionList/newpagebutton/index.jsx b/src/tabviews/zshare/actionList/newpagebutton/index.jsx
index ef0be08..a3fafce 100644
--- a/src/tabviews/zshare/actionList/newpagebutton/index.jsx
+++ b/src/tabviews/zshare/actionList/newpagebutton/index.jsx
@@ -128,6 +128,13 @@
         duration: 5
       })
       return
+    } else if (btn.pageTemplate === 'custom' && window.GLOB.systemType === 'production' && !btn.proUrl) {
+      notification.warning({
+        top: 92,
+        message: '灏氭湭璁剧疆姝e紡绯荤粺閾炬帴鍦板潃锛�',
+        duration: 5
+      })
+      return
     } else if (!btn.pageTemplate) {
       notification.warning({
         top: 92,
@@ -195,7 +202,7 @@
       window.open(url)
     } else if (btn.pageTemplate === 'custom') {
       let url = btn.url
-      if (window.GLOB.systemType === 'production' && btn.proUrl) {
+      if (window.GLOB.systemType === 'production') {
         url = btn.proUrl
       }
 

--
Gitblit v1.8.0