events: {
'click #reduceNum': reduceNumAction
},
reduceNumAction: function() {
$('#payBar #num').text($('#curNum').html() - 1);
}
http://www.cnblogs.com/yexiaochai/p/4855780.html
这是博客原文
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
angularJS和TodoMVC不了解
以下纯为个人想法,仅供参考