Commit c731efb3 by 姜雷

Merge branch 'develop' into test

parents 1414dbe7 3df7a284
...@@ -131,7 +131,7 @@ Component({ ...@@ -131,7 +131,7 @@ Component({
console.log(item); console.log(item);
this.setData({ this.setData({
sortTypeIndex: value, sortTypeIndex: value,
sortType: item.label, sortType: item.value,
}); });
this.refreshList(); this.refreshList();
}, },
...@@ -147,4 +147,4 @@ Component({ ...@@ -147,4 +147,4 @@ Component({
}, },
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXF1aXBtZW50T3BlcmF0aW9uRGV0YWlscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIkVxdWlwbWVudE9wZXJhdGlvbkRldGFpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLDRDQUFxRDtBQUdyRCxTQUFTLENBQUM7SUFDUixTQUFTLEVBQUU7UUFDVCxRQUFRLGdCQUFJLENBQUM7S0FDZDtJQUlELFVBQVUsRUFBRTtRQUNWLFdBQVcsRUFBRTtZQUNYLElBQUksRUFBRSxLQUFLO1lBQ1gsS0FBSyxFQUFFLEVBQUU7U0FDVjtRQUNELE1BQU0sRUFBRTtZQUNOLElBQUksRUFBRSxNQUFNO1lBQ1osS0FBSyxFQUFFLENBQUM7WUFDUixRQUFRO2dCQUNOLElBQUksQ0FBQyxTQUFTLEVBQUUsQ0FBQztnQkFDakIsSUFBSSxDQUFDLFdBQVcsRUFBRSxDQUFDO1lBQ3JCLENBQUM7U0FDRjtLQUNGO0lBS0QsSUFBSSxFQUFFO1FBQ0osZUFBZSxFQUFFO1lBQ2YsRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBRSxJQUFJLEVBQUU7WUFDOUIsRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLEtBQUssRUFBRSxJQUFJLEVBQUU7U0FDOUI7UUFDRCxhQUFhLEVBQUUsR0FBRzt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XG4gICAqIOe7hOS7tueahOaWueazleWIl+ihqFxuICAgKi9cbiAgbWV0aG9kczoge1xuICAgIGNoYW5nZVR5cGUoZSkge1xuICAgICAgY29uc29sZS5sb2coZSk7XG4gICAgICBjb25zdCB7IHRpbWV0eXBlIH0gPSBlLmN1cnJlbnRUYXJnZXQuZGF0YXNldDtcbiAgICAgIGlmICh0aW1ldHlwZSA9PT0gdGhpcy5kYXRhLnRpbWVUeXBlKSByZXR1cm47XG4gICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICB0aW1lVHlwZTogdGltZXR5cGUsXG4gICAgICB9KTtcbiAgICAgIHRoaXMuZmV0Y2hEYXRhKCk7XG4gICAgICB0aGlzLnJlZnJlc2hMaXN0KCk7XG4gICAgfSxcbiAgICBmZXRjaERhdGEoKSB7XG4gICAgICBzdGF0aXN0aWNzRmV0Y2goe1xuICAgICAgICB1cmw6ICcvYm9zcy9kZXZpY2Uvb3BlcmF0aW9uL2RhdGEvc3VtbWFyeScsXG4gICAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgICBkYXRhOiB7XG4gICAgICAgICAgYXJlYUlkOiB0aGlzLmRhdGEuYXJlYUlkLFxuICAgICAgICAgIHRpbWVUeXBlOiB0aGlzLmRhdGEudGltZVR5cGUsXG4gICAgICAgIH0sXG4gICAgICB9KVxuICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgICAgY29uc3QgeyB0b3RhbENvbnN1bWVBbW91bnQsIHRvdGFsQ29uc3VtZUNvdW50IH0gPSByZXMuZGF0YTtcbiAgICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgICAgJ2NvbXN1bWVyRGF0YS5jb3VudCc6IHRvdGFsQ29uc3VtZUFtb3VudCxcbiAgICAgICAgICAgICdjb3VudERhdGEuY291bnQnOiB0b3RhbENvbnN1bWVDb3VudCxcbiAgICAgICAgICB9KTtcbiAgICAgICAgfSlcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgfSk7XG4gICAgfSxcbiAgICBmZXRjaExpc3QoZW50aXR5KSB7XG4gICAgICByZXR1cm4gc3RhdGlzdGljc0ZldGNoKHtcbiAgICAgICAgdXJsOiAnL2Jvc3MvZGV2aWNlL29wZXJhdGlvbi9kYXRhL2RldGFpbC9wYWdpbmcnLFxuICAgICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgICAgZGF0YToge1xuICAgICAgICAgIGFyZWFJZDogdGhpcy5kYXRhLmFyZWFJZCxcbiAgICAgICAgICB0aW1lVHlwZTogdGhpcy5kYXRhLnRpbWVUeXBlLFxuICAgICAgICAgIHNvcnRUeXBlOiB0aGlzLmRhdGEuc29ydFR5cGUsXG4gICAgICAgICAgZGV2aWNlVHlwZTogdGhpcy5kYXRhLmRldmljZVR5cGUsXG4gICAgICAgICAgcGFnZU51bTogdGhpcy5kYXRhLnBhZ2VOdW0sXG4gICAgICAgICAgcGFnZVNpemU6IHRoaXMuZGF0YS5wYWdlU2l6ZSxcbiAgICAgICAgICAuLi5lbnRpdHksXG4gICAgICAgIH0sXG4gICAgICB9KTtcbiAgICB9LFxuICAgIHJlZnJlc2hMaXN0KCkge1xuICAgICAgdGhpcy5mZXRjaExpc3Qoe1xuICAgICAgICBwYWdlTnVtOiAxLFxuICAgICAgfSlcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICBjb25zdCB7IGxpc3QgfSA9IHJlcy5kYXRhO1xuICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgICBwYWdlTnVtOiAxLFxuICAgICAgICAgICAgZGF0YUxpc3Q6IGxpc3QsXG4gICAgICAgICAgfSk7XG4gICAgICAgIH0pXG4gICAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICAgIH0pO1xuICAgIH0sXG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ICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgfSk7XG4gICAgfSxcbiAgICBmZXRjaExpc3QoZW50aXR5KSB7XG4gICAgICByZXR1cm4gc3RhdGlzdGljc0ZldGNoKHtcbiAgICAgICAgdXJsOiAnL2Jvc3MvZGV2aWNlL29wZXJhdGlvbi9kYXRhL2RldGFpbC9wYWdpbmcnLFxuICAgICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgICAgZGF0YToge1xuICAgICAgICAgIGFyZWFJZDogdGhpcy5kYXRhLmFyZWFJZCxcbiAgICAgICAgICB0aW1lVHlwZTogdGhpcy5kYXRhLnRpbWVUeXBlLFxuICAgICAgICAgIHNvcnRUeXBlOiB0aGlzLmRhdGEuc29ydFR5cGUsXG4gICAgICAgICAgZGV2aWNlVHlwZTogdGhpcy5kYXRhLmRldmljZVR5cGUsXG4gICAgICAgICAgcGFnZU51bTogdGhpcy5kYXRhLnBhZ2VOdW0sXG4gICAgICAgICAgcGFnZVNpemU6IHRoaXMuZGF0YS5wYWdlU2l6ZSxcbiAgICAgICAgICAuLi5lbnRpdHksXG4gICAgICAgIH0sXG4gICAgICB9KTtcbiAgICB9LFxuICAgIHJlZnJlc2hMaXN0KCkge1xuICAgICAgdGhpcy5mZXRjaExpc3Qoe1xuICAgICAgICBwYWdlTnVtOiAxLFxuICAgICAgfSlcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICBjb25zdCB7IGxpc3QgfSA9IHJlcy5kYXRhO1xuICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgICBwYWdlTnVtOiAxLFxuICAgICAgICAgICAgZGF0YUxpc3Q6IGxpc3QsXG4gICAgICAgICAgfSk7XG4gICAgICAgIH0pXG4gICAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICAgIH0pO1xuICAgIH0sXG4gICAgZ2V0TW9yZUxpc3RJdGVtKCkge1x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XRhLmRldmljZVR5cGUpIHJldHVybjtcbiAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgIGRldmljZVR5cGU6IGRldmljZXR5cGUsXG4gICAgICB9KTtcbiAgICAgIHRoaXMucmVmcmVzaExpc3QoKTtcbiAgICB9LFxuICB9LFxufSk7XG4iXX0=
\ No newline at end of file \ No newline at end of file
...@@ -138,7 +138,7 @@ Component({ ...@@ -138,7 +138,7 @@ Component({
console.log(item); console.log(item);
this.setData({ this.setData({
sortTypeIndex: value, sortTypeIndex: value,
sortType: item.label, sortType: item.value,
}); });
this.refreshList(); this.refreshList();
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment