Explorar o código

文字显示bug

laiguoran %!s(int64=4) %!d(string=hai) anos
pai
achega
29ccf59b7f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      app/public/js/schedule_plan.js

+ 2 - 0
app/public/js/schedule_plan.js

@@ -431,7 +431,9 @@ $(function () {
         console.log(update_under_ledger);
         postData(window.location.pathname + '/save', {type: 'mode', postData: {mode: this_mode, update_under_ledger}}, function (result) {
             _self.addClass('disabled').attr('disabled', true);
+            _self.text('当前');
             _self.parents('.col-6').siblings('.col-6').find('button').removeClass('disabled').removeAttr('disabled');
+            _self.parents('.col-6').siblings('.col-6').find('button').text('选择');
             $('#mode-tips').show();
             $('#mode-cancel').show();
             $('#mode').modal('hide');