diff --git a/packages/canvas/common/src/constant.js b/packages/canvas/common/src/constant.js index 9fa572a24..11fa215b4 100644 --- a/packages/canvas/common/src/constant.js +++ b/packages/canvas/common/src/constant.js @@ -1,3 +1,8 @@ export const NODE_UID = 'data-uid' export const NODE_TAG = 'data-tag' export const NODE_LOOP = 'loop-id' + +export const DESIGN_MODE = { + DESIGN: 'design', // 设计态 + RUNTIME: 'runtime' // 运行态 +} diff --git a/packages/canvas/container/src/CanvasContainer.vue b/packages/canvas/container/src/CanvasContainer.vue index 30f072132..74cd1c21b 100644 --- a/packages/canvas/container/src/CanvasContainer.vue +++ b/packages/canvas/container/src/CanvasContainer.vue @@ -31,9 +31,8 @@