|
|
@@ -285,14 +285,14 @@ define(['app/app'], function (app) {
|
|
|
606: true
|
|
|
};
|
|
|
|
|
|
- var getRecommendComps = function (userUU, usedFor, pageable) {
|
|
|
- Recommendation.getRecommendComps({page: pageable.page, size: pageable.size}, function (data) {
|
|
|
- $scope.recommendComps = data.content;
|
|
|
- }, function (error) {
|
|
|
- toaster.pop('error', '获取推荐器件失败');
|
|
|
- })
|
|
|
- };
|
|
|
- getRecommendComps(null, null, {page: 0, size: 12});
|
|
|
+ // var getRecommendComps = function (userUU, usedFor, pageable) {
|
|
|
+ // Recommendation.getRecommendComps({page: pageable.page, size: pageable.size}, function (data) {
|
|
|
+ // $scope.recommendComps = data.content;
|
|
|
+ // }, function (error) {
|
|
|
+ // toaster.pop('error', '获取推荐器件失败');
|
|
|
+ // })
|
|
|
+ // };
|
|
|
+ // getRecommendComps(null, null, {page: 0, size: 12});
|
|
|
|
|
|
// 重新加载数据
|
|
|
$scope.reload = function () {
|