|
@@ -71,7 +71,10 @@ $(function() {
|
|
|
type: 'POST',
|
|
|
success: function(res) {
|
|
|
if (res && Array.isArray(res.data)) {
|
|
|
- _this.powerList = res.data
|
|
|
+ _this.powerList = res.data.concat
|
|
|
+ if (_this.checkHasYYSZBPower()) {
|
|
|
+ $('.experience-button').text('立即使用')
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
})
|
|
@@ -231,7 +234,7 @@ $(function() {
|
|
|
$('.experience-button').on('click', function() {
|
|
|
var source = $(this).attr('data-source')
|
|
|
if (_this.checkHasYYSZBPower()) {
|
|
|
- this.goToYYSZBPage()
|
|
|
+ _this.goToYYSZBPage()
|
|
|
} else {
|
|
|
_this.doLeaveInfo(source)
|
|
|
}
|