Skip to content

Commit

Permalink
Merge pull request #1078 from linxiaowu1992/fix/issue1076
Browse files Browse the repository at this point in the history
fixbug:s-mart初始部署异常时,发布记录显示问题 #1076
  • Loading branch information
wklken authored Apr 27, 2023
2 parents e746961 + 44b995e commit a6d750c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions paas2/paas/templates/saas/release/record.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<input type="hidden" value="${app_code}" id="app_code_id">
<input type="hidden" value="${app_state}" id="app_state_id">

% if app_state != 1:
<div class="mt10">
<select class="form-control" id="app_record" style="width:200px;margin-left:10px;">
<option value="0" selected>${_(u'全部记录')}</option>
Expand All @@ -15,9 +14,6 @@
</select>
</div>
<div id="record_list"></div>
% else:
<p class="t_c mt20">${_(u'没有记录')}</p>
% endif
</%block>
<script src="${STATIC_URL}js/paas_release.${JS_SUFFIX}?v=${STATIC_VERSION}"></script>
<script>
Expand All @@ -26,9 +22,7 @@
var app_state = $("#app_state_id").val();
$("#app_record").on('change', function() {
var operate_id = $(this).val();
if(app_state != '1'){
REL_MANAGER.search_app_record(app_code, operate_id);
}
REL_MANAGER.search_app_record(app_code, operate_id);
});
$("#app_record").trigger('change');
//REL_MANAGER.search_app_record(app_code, 0);
Expand Down

0 comments on commit a6d750c

Please sign in to comment.