|
@@ -82,7 +82,7 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="modal-footer">
|
|
<div class="modal-footer">
|
|
- <button type="button" class="btn btn-danger" onclick="updateHeader();">完成修改</button>
|
|
|
|
|
|
+ <button type="button" class="btn btn-danger" onclick="updateHeader();location.reload();">完成修改</button>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
@@ -176,9 +176,9 @@
|
|
//console.log(mdContent);
|
|
//console.log(mdContent);
|
|
axios.post(contentApiUrl + editTarget, json = postData);
|
|
axios.post(contentApiUrl + editTarget, json = postData);
|
|
|
|
|
|
- alert('主資訊已儲存');
|
|
|
|
- $("#myModal").modal("hide");
|
|
|
|
- location.reload();
|
|
|
|
|
|
+ // alert('主資訊已儲存');
|
|
|
|
+ // $("#myModal").modal("hide");
|
|
|
|
+ // location.reload();
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
|