var app=angular.module('myApp',[]);

app.controller('CurTimeController', function($scope,$interval) {

$interval(function() {

        $scope.x = new Date().getSeconds();

    }, 1000);

})  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
  • 2021-08-15
  • 2021-11-04
  • 2022-12-23
猜你喜欢
  • 2021-12-11
  • 2021-12-07
  • 2021-10-06
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2021-05-20
相关资源
相似解决方案