Skip to content

Commit

Permalink
refactor: formMixin 通过导出形式引用
Browse files Browse the repository at this point in the history
  • Loading branch information
dream2023 committed Feb 4, 2020
1 parent 8067d74 commit dc86e36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/build-entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ import EleFormGroup from './EleFormGroup'
import EleFormDialog from './EleFormDialog'
import EleFormSection from './EleFormSection'
{{include}}
export { default as formMixin } from './mixins/formMixin'
export { default as uploadMixin } from './mixins/uploadMixin'
const components = [
EleForm,
Expand Down
2 changes: 2 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ import EleFormAutocomplete from './components/EleFormAutocomplete'
import EleFormCascaderPanel from './components/EleFormCascaderPanel'
import EleFormDatetimerange from './components/EleFormDatetimerange'
import EleFormCheckboxButton from './components/EleFormCheckboxButton'
export { default as formMixin } from './mixins/formMixin'
export { default as uploadMixin } from './mixins/uploadMixin'

const components = [
EleForm,
Expand Down

0 comments on commit dc86e36

Please sign in to comment.