Browse Source

feat: 隐藏右键加载例题

zhangweicheng 4 years ago
parent
commit
ffe2e46d2b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      web/building_saas/pm/js/pm_newMain.js

+ 3 - 0
web/building_saas/pm/js/pm_newMain.js

@@ -478,6 +478,9 @@ const projTreeObj = {
         importExampleProject:{
             name: "加载例题",
             icon: 'fa-refresh',
+            visible: function () {
+                return false;
+            },
             callback: function (key, opt) {
 
                 projTreeObj.importExampleProjects();