🎨 代码格式化

This commit is contained in:
目棃
2024-04-23 19:00:28 +08:00
parent f802ee9a68
commit 065019cdc6
33 changed files with 73 additions and 54 deletions

View File

@@ -9,10 +9,6 @@ import type { Event } from "@tauri-apps/api/event";
import type { UnlistenFn } from "@tauri-apps/api/helpers/event";
import { appWindow, WebviewWindow } from "@tauri-apps/api/window";
import { parseLink } from "./linkParser";
import TGLogger from "./TGLogger";
import { createPost } from "./TGWindow";
import { getDeviceInfo } from "./toolFunc";
import showSnackbar from "../components/func/snackbar";
import TGSqlite from "../plugins/Sqlite";
import { useAppStore } from "../store/modules/app";
@@ -22,6 +18,11 @@ import { getCookieTokenBySToken } from "../web/request/getCookieToken";
import TGRequest from "../web/request/TGRequest";
import { getDS4JS } from "../web/utils/getRequestHeader";
import { parseLink } from "./linkParser";
import TGLogger from "./TGLogger";
import { createPost } from "./TGWindow";
import { getDeviceInfo } from "./toolFunc";
// invoke 参数
interface InvokeArg {
func: string;

View File

@@ -7,11 +7,12 @@
import { dialog, fs, http, path } from "@tauri-apps/api";
import html2canvas from "html2canvas";
import TGLogger from "./TGLogger";
import { bytesToSize } from "./toolFunc";
import showConfirm from "../components/func/confirm";
import showSnackbar from "../components/func/snackbar";
import TGLogger from "./TGLogger";
import { bytesToSize } from "./toolFunc";
/**
* @description 保存图片-canvas
* @since Beta v0.4.4

View File

@@ -4,11 +4,12 @@
* @since Beta v0.3.9
*/
import TGClient from "./TGClient";
import { createPost } from "./TGWindow";
import showConfirm from "../components/func/confirm";
import showSnackbar from "../components/func/snackbar";
import TGClient from "./TGClient";
import { createPost } from "./TGWindow";
/**
* @function parsePost
* @since Beta v0.3.8