浏览代码

文字显示bug

laiguoran 4 年之前
父节点
当前提交
29ccf59b7f
共有 1 个文件被更改,包括 2 次插入0 次删除
  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');