vue 3 run function and await data before other functions are loaded on app start up

后端 未结 0 850
深忆病人
深忆病人 2020-11-27 02:22

I\'m looking for a good way to load data before my other external functions get loaded. In my case I have a useToken() function with a const token = ref(\'\') I populate the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题