Browse Source

仓库布局 remove / add / edit / save

luoyifan 2 years ago
parent
commit
a834d931f0
2 changed files with 7 additions and 3 deletions
  1. 6 2
      dist/yvan-ext.js
  2. 1 1
      dist/yvan-ext.js.map

+ 6 - 2
dist/yvan-ext.js

@@ -14185,6 +14185,7 @@ define(['exports', 'axios', 'qs', 'lodash', 'jquery', 'moment', 'recast', 'xlsx'
         path: {},
         path: {},
         shim: {}
         shim: {}
     });
     });
+    //# sourceMappingURL=WhLayoutDesign.js.map
 
 
     // init()
     // init()
     var Workbench = /** @class */ (function (_super) {
     var Workbench = /** @class */ (function (_super) {
@@ -14499,8 +14500,12 @@ define(['exports', 'axios', 'qs', 'lodash', 'jquery', 'moment', 'recast', 'xlsx'
             });
             });
         };
         };
         Workbench.prototype.showLayoutDesign = function (layoutCode, layoutName) {
         Workbench.prototype.showLayoutDesign = function (layoutCode, layoutName) {
+            var id = layoutCode !== null && layoutCode !== void 0 ? layoutCode : _$2.uniqueId('new_layout');
             var layoutDesign = new WidgetDesign$1(layoutCode, layoutName);
             var layoutDesign = new WidgetDesign$1(layoutCode, layoutName);
-            layoutDesign.showPage({}, {
+            layoutDesign.showPage({
+                id: id,
+                path: id,
+            }, {
                 data: {}
                 data: {}
             });
             });
         };
         };
@@ -14545,7 +14550,6 @@ define(['exports', 'axios', 'qs', 'lodash', 'jquery', 'moment', 'recast', 'xlsx'
         };
         };
         return Workbench;
         return Workbench;
     }(Scope));
     }(Scope));
-    //# sourceMappingURL=Workbench.js.map
 
 
     (function (FuncDomain) {
     (function (FuncDomain) {
         FuncDomain["SCOPE"] = "scope";
         FuncDomain["SCOPE"] = "scope";

File diff suppressed because it is too large
+ 1 - 1
dist/yvan-ext.js.map