From 7adf0212cd71a8ec604f65ba2c2e9bdfc5dec22d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 13 一月 2023 10:31:38 +0800
Subject: [PATCH] 2023-01-13

---
 src/menu/pastecontroller/index.jsx |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/menu/pastecontroller/index.jsx b/src/menu/pastecontroller/index.jsx
index 800bec8..5c6dcd7 100644
--- a/src/menu/pastecontroller/index.jsx
+++ b/src/menu/pastecontroller/index.jsx
@@ -62,7 +62,11 @@
     let options = ['tabs', 'timeline', 'datacard', 'propcard', 'mainsearch', 'simpleform', 'stepform', 'tabform', 'balcony', 'group', 'normaltable', 'tablecard', 'line', 'bar', 'pie', 'dashboard', 'scatter', 'iframe', 'sandbox']
 
     if (appType === 'mob') {
-      options.push('menubar', 'topbar')
+      if (sessionStorage.getItem('editMenuType') !== 'popview') {
+        options.push('menubar', 'topbar')
+      } else {
+        options.push('menubar')
+      }
     } else {
       options.push('editable', 'antvG6')
     }

--
Gitblit v1.8.0