i have component list which map from Promise list []:fetch。
each componet accept a prop state like 【Promise.pending、resolve、reject】
i want to map promise state with progress in my component.
how can i get the nprogress's floating point number in my component?
in vue
thanks!🙏
i have component list which map from Promise list
[]:fetch
。 each componet accept a prop state like 【Promise.pending、resolve、reject】 i want to map promise state with progress in my component. how can i get the nprogress's floating point number in my component? in vue thanks!🙏