Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
upliveapp committed Mar 30, 2019
1 parent 0ec6f87 commit 380d113
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions jswitcher-ui/src/main/resources/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<td v-if="key.open"><span class="badge badge-success"></span></td>
<td v-else><span class="badge badge-secondary"></span></td>
<td>
<a class="text-warning" data-toggle="modal" v-bind:data-target="'#' + key.no">明细</a>
<a class="text-secondary" data-toggle="modal" v-bind:data-target="'#' + key.no">明细</a>
<div v-bind:id="key.no" class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
Expand Down Expand Up @@ -115,8 +115,9 @@
(response) => {
if (response.status !== 200) {
console.log(response);
} else {
key.open = !key.open;
}
window.location.reload();
});
},
persistence: function (key) {
Expand All @@ -125,8 +126,9 @@
(response) => {
if (response.status !== 200) {
console.log(response);
} else {
alert("固化成功");
}
window.location.reload();
});
}
},
Expand Down

0 comments on commit 380d113

Please sign in to comment.