🗑️ loadMore

This commit is contained in:
BTMuli
2023-12-10 15:51:56 +08:00
parent 5395304431
commit 8c50da61b1
6 changed files with 107 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
/**
* @file utils TGWindow.ts
* @file utils/TGWindow.ts
* @description 窗口创建相关工具函数
* @since Beta v0.3.4
* @since Beta v0.3.7
*/
import { invoke, window as TauriWindow } from "@tauri-apps/api";
@@ -73,13 +73,13 @@ export function createTGWindow(
/**
* @description 打开帖子
* @since Beta v0.3.3
* @param {TGApp.Plugins.Mys.News.RenderCard|string|number} item 帖子内容或ID
* @since Beta v0.3.7
* @param {TGApp.Plugins.Mys.News.RenderCard | string | number | TGApp.Plugins.Mys.Forum.RenderCard} item 帖子内容或ID
* @param {string} title 帖子标题
* @returns {void}
*/
export function createPost(
item: TGApp.Plugins.Mys.News.RenderCard | string | number,
item: TGApp.Plugins.Mys.News.RenderCard | string | number | TGApp.Plugins.Mys.Forum.RenderCard,
title?: string,
): void {
let postId, postTitle, jsonTitle;