统一的载页面可以用factory('RequestInjector',[fucntion]);来实现。哪么当应用在不同的地方需要加载不同的等待画页,angularjs里有没有特殊的方法
欢迎选择我的课程,让我们一起见证您的进步~~
You can write a command and place it on the public parent top-level page, such as index For example:
<loading request-type="someType"></loading>
Then you can use this command to generate corresponding loading templates when receiving different types to create a global loading screen.
You can write a command and place it on the public parent top-level page, such as index
For example:
<loading request-type="someType"></loading>
Then you can use this command to generate corresponding loading templates when receiving different types to create a global loading screen.