Commit 40412843457dfeeaf4f914056c02c22b2c19e067

Authored by hunshcn
Committed by GitHub
1 parent a12c5706

fix(vite-plugin-styleImport): fix ATextarea 直接引用出现样式导入错误的问题 (#2365)

build/vite/plugin/styleImport.ts
... ... @@ -49,6 +49,7 @@ export function configStyleImportPlugin(_isBuild: boolean) {
49 49 // 这里是需要额外引入样式的子组件列表
50 50 // 单独引入子组件时需引入组件样式,否则会在打包后导致子组件样式丢失
51 51 const replaceList = {
  52 + textarea: 'input',
52 53 'typography-text': 'typography',
53 54 'typography-title': 'typography',
54 55 'typography-paragraph': 'typography',
... ...