diff --git a/templates/inbox.html b/templates/inbox.html index 25e2c8b..7b1454b 100644 --- a/templates/inbox.html +++ b/templates/inbox.html @@ -74,7 +74,7 @@
- (暂无回复) + 加载中...
@@ -97,7 +97,10 @@ }); console.log($(self).find('.timeago')); $(self).find('.timeago').timeago(); - } + }else { + $(self).empty(); + $(self).append(`
(暂无回复)
`) + } }, error:(xhr,status,error) => { console.log(error, status, xhr.status, xhr.responseText);