记录生活
分享点滴

angular 跳转页面清除对应页面缓存

.state('login', {
  url: '/login',
  cache: false,//不缓存
  templateUrl: 'templates/login.html',
  controller: 'loginCtrl'
})
赞(15)
未经允许不得转载:蒋丽君的小站 » angular 跳转页面清除对应页面缓存
分享到

评论 抢沙发