yz-yuki-plugin 2.0.5-13 → 2.0.5-14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -26,7 +26,7 @@ class BiliQuery {
|
|
|
26
26
|
desc = data?.modules?.module_dynamic?.major?.archive || {};
|
|
27
27
|
formatData.data.title = desc?.title;
|
|
28
28
|
formatData.data.content = this.parseRichTextNodes(desc?.desc);
|
|
29
|
-
formatData.data.url = this.formatUrl(desc?.jump_url);
|
|
29
|
+
formatData.data.url = this.formatUrl(desc?.jump_url) || '';
|
|
30
30
|
formatData.data.pubTime = author.pub_time;
|
|
31
31
|
formatData.data.pubTs = moment(author.pub_ts * 1000).format('YYYY年MM月DD日 HH:mm:ss');
|
|
32
32
|
formatData.data.category = '视频动态';
|
|
@@ -146,7 +146,7 @@ class BiliQuery {
|
|
|
146
146
|
formatData.data.pics = pics;
|
|
147
147
|
formatData.data.content = '';
|
|
148
148
|
}
|
|
149
|
-
formatData.data.url = this.formatUrl(desc?.jump_url);
|
|
149
|
+
formatData.data.url = this.formatUrl(desc?.jump_url) || '';
|
|
150
150
|
formatData.data.pubTime = author.pub_time;
|
|
151
151
|
formatData.data.pubTs = moment(author.pub_ts * 1000).format('YYYY年MM月DD日 HH:mm:ss');
|
|
152
152
|
formatData.data.category = '文章动态';
|