程式碼截圖如上,裡面的data是用來做什麼用那?勞煩各位大神多多指教了
认证0级讲师
官方文件地址https://ui-router.github.io/n...$stateProvider
關於$stateProvider.state的data的解釋
Arbitrary data object, useful for custom configuration. The parent state's data is prototypally inherited. In other words, adding a data property to a state adds it to the entire subtree viaobty inherit
雷雷
官方文件地址
https://ui-router.github.io/n...$stateProvider
關於$stateProvider.state的data的解釋
Arbitrary data object, useful for custom configuration. The parent state's data is prototypally inherited. In other words, adding a data property to a state adds it to the entire subtree viaobty inherit
機翻雷雷