@cniot/mdd-editor 0.2.0-beta.42 → 0.2.0-beta.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cniot/mdd-editor",
3
- "version": "0.2.0-beta.42",
3
+ "version": "0.2.0-beta.44",
4
4
  "description": "模型驱动编辑器",
5
5
  "scripts": {
6
6
  "build": "vite build"
package/src/toolbar.jsx CHANGED
@@ -7,7 +7,10 @@ import { EVENT_KEY } from '$src/common/const';
7
7
 
8
8
  import './index.less';
9
9
 
10
- const isDebug = window?.location?.search?.indexOf('debug') >= 0;
10
+ // window.localStorage.__l4_location_search_debug__ = true; // 调试使用
11
+ // window.localStorage.__l4_ftp_filter_expand__ = true; // 调试使用
12
+ const isDebug =
13
+ window?.location?.search?.indexOf('debug') >= 0 || window.localStorage?.__l4_location_search_debug__ === 'true';
11
14
 
12
15
  /**
13
16
  * 顶部操作区