Skip to content

export 'FormModel' was not found in 'ant-design-vue' #1287

@as0026

Description

@as0026

Question (问题描述)
我希望项目中可以使用FormModel组件,把项目用的ant-design-vue为1.3.5,升级到1.5.4版本。
然后运行提示export 'FormModel' was not found in 'ant-design-vue'
并且运行后的html代码中,该组件并未编译成form标签,而仍然是a-form-model标签。

Additional context(附加信息)
我项目中的依赖如下:

"dependencies": {
    "@antv/data-set": "^0.10.2",
    "@babel/plugin-proposal-numeric-separator": "^7.10.4",
    "@toast-ui/vue-editor": "^2.4.0",
    "ali-oss": "^6.3.0",
    "ant-design-vue": "~1.5.4",
    "axios": "^0.19.0",
    "better-scroll": "^1.15.2",
    "browser-md5-file": "^1.1.1",
    "core-js": "^3.3.2",
    "echarts": "^4.7.0",
    "enquire.js": "^2.1.6",
    "file-saver": "^2.0.2",
    "js-base64": "^2.5.1",
    "js-cookie": "^2.2.0",
    "lodash.get": "^4.4.2",
    "lodash.pick": "^4.4.0",
    "lodash.clonedeep": "^4.5.0",
    "md5": "^2.2.1",
    "mockjs2": "^1.0.5",
    "moment": "^2.24.0",
    "nprogress": "^0.2.0",
    "paho-mqtt": "^1.1.0",
    "sha.js": "^2.4.11",
    "three": "^0.107.0",
    "uuid": "^3.3.3",
    "viser-vue": "^2.4.8",
    "vue": "^2.6.10",
    "vue-amap": "^0.5.10",
    "vue-clipboard2": "^0.2.1",
    "vue-codemirror-lite": "^1.0.4",
    "vue-cropper": "0.4.9",
    "vue-ls": "^3.2.0",
    "vue-quill-editor": "^3.0.6",
    "vue-router": "^3.1.3",
    "vue-svg-component-runtime": "^1.0.1",
    "vue-swipe": "^2.4.0",
    "vuex": "^3.1.1",
    "wangeditor": "^3.1.1"
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions