You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
目前全局变量的实现是每个变量都会创建一个对应的 pinia module,这样导致对基础类型(数字、字符串、Boolean)的处理非常麻烦,尤其是使用时,如果不看源码,完全不能理解应该如何使用。
如果改为一个 module 下存放所有全局变量,是不是会更加好用
目前的实现思路是出于什么考虑,改成单 module 提供全局变量是否有其他需要考虑的问题
Beta Was this translation helpful? Give feedback.
All reactions