Skip to content

页面存在内部组件报错 #191

Description

@zhangweiwei0326

[plugin:unplugin-element-plus] Parse error @:33:98
/Users/weiwei/Documents/artedu/web/src/components/manage/ProTable/components/TableColumn.vue
at parse (file:///Users/weiwei/Documents/artedu/web/node_modules/es-module-lexer/dist/lexer.js:2:358)
at transformStyle (file:///Users/weiwei/Documents/artedu/web/node_modules/unplugin-element-plus/dist/chunk-DO4THQPB.mjs:56:22)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.transform (file:///Users/weiwei/Documents/artedu/web/node_modules/vite/dist/node/chunks/dep-79892de8.js:43387:30)
at async loadAndTransform (file:///Users/weiwei/Documents/artedu/web/node_modules/vite/dist/node/chunks/dep-79892de8.js:41105:29
Click outside or fix the code to dismiss.
You can also disable this overlay by setting server.hmr.overlay to false in vite.config.js.

组件里面包含内部组件
const RenderTableColumn = (item: ColumnProps) => {}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions