btea

Results 424 comments of btea

I haven't thought of any good method at the moment, @makedopamine do you have any suggestions?

Independent of your changes, the test cases seem to fail occasionally.

Can you describe a specific scenario where you would need them?

Perhaps you could follow the prompts and add a type declaration. ![image](https://github.com/element-plus/element-plus/assets/24516654/8efc1cef-a4cb-4acd-a309-6ff9e4d458c8)

你的意思是加了类型声明没有提示,不加会报错?

看起来像是组件声明打乱了defineStore 的类型推断。🤔 你把`FormInstance`换成你本地自定义的组件试试,有没有同样的问题?

关于你这个正常情况下的提示能发个动态图或者视频吗?

看起来应该是 pinia 类型推断不出自定义的组件类型。或许不应该在 store 中直接声明组件引用的变量,只保存单纯的数据。🤔