Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

element-plus类型缺少加入 #1

Closed
xiaoxian521 opened this issue Apr 21, 2023 · 2 comments
Closed

element-plus类型缺少加入 #1

xiaoxian521 opened this issue Apr 21, 2023 · 2 comments

Comments

@xiaoxian521
Copy link

image

image

element-plus/global 需加入 compilerOptionstypes 中才能获得 Volar 支持,我用你这个项目将上面的步骤加好并且将 Vue Language Features (Volar) 降级到 v1.2.0 如上图类型提示是没问题的

image

@warmthsea
Copy link
Owner

image image

element-plus/global 需加入 compilerOptionstypes 中才能获得 Volar 支持,我用你这个项目将上面的步骤加好并且将 Vue Language Features (Volar) 降级到 v1.2.0 如上图类型提示是没问题的

image

这个复现降低到 1.2的确可以正常使用,但是这个复现是有我原项目删减而来(原项目文件非常多),我同样降低到1.2 后,复现正常(图二),但是原项目出现图中的问题(图一)
image
image

@warmthsea
Copy link
Owner

image
我目前降到了 1.1, 可以正常使用了,thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants