fix: progress components key is not unique

组件的key值应该是唯一的
pull/4/head
bqy 4 years ago committed by GitHub
parent 98eddebf30
commit 7ba6b240db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/packages/base-widgets/process/index.tsx

@ -8,7 +8,7 @@ import {
import { VisualEditorComponent } from '@/visual-editor/visual-editor.utils' import { VisualEditorComponent } from '@/visual-editor/visual-editor.utils'
export default { export default {
key: 'divider', key: 'process',
moduleName: 'baseWidgets', moduleName: 'baseWidgets',
label: '进度条', label: '进度条',
preview: () => <Progress style="width:190px" percentage={0} />, preview: () => <Progress style="width:190px" percentage={0} />,

Loading…
Cancel
Save