|
@@ -148,6 +148,9 @@ function getDraft() {
|
|
</tr>`
|
|
</tr>`
|
|
}
|
|
}
|
|
$('.draft-content').html(str);
|
|
$('.draft-content').html(str);
|
|
|
|
+ } else {
|
|
|
|
+ str = '<div><h3>目前沒有草稿喔</h3></div>';
|
|
|
|
+ $('.draft-content').html(str);
|
|
}
|
|
}
|
|
}).catch(err => {
|
|
}).catch(err => {
|
|
console.log(err);
|
|
console.log(err);
|
|
@@ -175,13 +178,13 @@ checkLogin();
|
|
$(".historical-record").hide();
|
|
$(".historical-record").hide();
|
|
|
|
|
|
$( ".check-history" ).click(function() {
|
|
$( ".check-history" ).click(function() {
|
|
- $(".historical-record").toggle();
|
|
|
|
|
|
+ $(".historical-record").toggle(150);
|
|
$(".arrowdown").toggleClass("arrowdoup");
|
|
$(".arrowdown").toggleClass("arrowdoup");
|
|
});
|
|
});
|
|
|
|
|
|
$('.draft-table').hide();
|
|
$('.draft-table').hide();
|
|
$('.draft .arrowdown').click(function() {
|
|
$('.draft .arrowdown').click(function() {
|
|
- $(".draft-table").toggle();
|
|
|
|
|
|
+ $(".draft-table").toggle(150);
|
|
$(".draft .arrowdown").toggleClass("arrowdoup");
|
|
$(".draft .arrowdown").toggleClass("arrowdoup");
|
|
});
|
|
});
|
|
|
|
|