diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index f2d8a6254..aa9b14b04 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -16,4 +16,7 @@ jobs: days-before-issue-stale: 10 days-before-issue-close: 2 days-before-pr-stale: 10 - days-before-pr-close: 2 \ No newline at end of file + days-before-pr-close: 2 + exempt-issue-labels: 'bug,enhancement,good first issue,help wanted,WIP' + stale-issue-label: 'stale' + stale-pr-label: 'stale' \ No newline at end of file diff --git a/packages/designer/src/builtin-simulator/bem-tools/border-selecting.tsx b/packages/designer/src/builtin-simulator/bem-tools/border-selecting.tsx index 2297ca04c..b990e045a 100644 --- a/packages/designer/src/builtin-simulator/bem-tools/border-selecting.tsx +++ b/packages/designer/src/builtin-simulator/bem-tools/border-selecting.tsx @@ -98,7 +98,7 @@ class Toolbar extends Component<{ observed: OffsetObserver }> { const { node } = observed; const actions: ReactNodeArray = []; node.componentMeta.availableActions.forEach((action) => { - const { important, condition, content, name } = action; + const { important = true, condition, content, name } = action; if (node.isSlot() && (name === 'copy' || name === 'remove')) { // FIXME: need this? return; diff --git a/packages/engine/src/modules/utils.ts b/packages/engine/src/modules/utils.ts index b319d03f6..6fa569c75 100644 --- a/packages/engine/src/modules/utils.ts +++ b/packages/engine/src/modules/utils.ts @@ -1,11 +1,14 @@ import { isFormEvent, compatibleLegaoSchema, getNodeSchemaById } from '@alilc/lowcode-utils'; import { isNodeSchema } from '@alilc/lowcode-types'; +import { getConvertedExtraKey, getOriginalExtraKey } from '@alilc/lowcode-designer'; const utils = { isNodeSchema, isFormEvent, compatibleLegaoSchema, getNodeSchemaById, + getConvertedExtraKey, + getOriginalExtraKey, }; export default utils; \ No newline at end of file