最近查阅相关angularjs的资料的时候看到一个问题:
html:
{{ currentDate()}}
js:
$scope.currentDate = function(){
return new Date();
}
这种写法是否妥当,以及相应的digest机制问题。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
你可以试一试