🎨 代码格式化

This commit is contained in:
BTMuli
2023-10-10 23:15:26 +08:00
parent 5c2bb4e5af
commit b04f49ec46
114 changed files with 379 additions and 548 deletions

View File

@@ -2,11 +2,10 @@
* @file utils TGBuild.ts
* @description 用于获取 vite 打包时间
* @see https://gitee.com/lihanspace/vite-plugin-build-time
* @author BTMuli<bt-muli@outlook.com>
* @since Alpha v0.1.4
*/
import { type Plugin } from "vite";
import type { Plugin } from "vite";
const buildTimeKey = "buildTime";

View File

@@ -1,15 +1,12 @@
/**
* @file utils TGShare.ts
* @description 生成分享截图并保存到本地
* @author BTMuli <bt-muli@outlook.com>
* @since Beta v0.3.2
*/
// third party
import html2canvas from "html2canvas";
// tauri
import { dialog, fs, http, path } from "@tauri-apps/api";
// utils
import html2canvas from "html2canvas";
import showSnackbar from "../components/func/snackbar";
/**

View File

@@ -1,13 +1,11 @@
/**
* @file utils UIAF.ts
* @description UIAF工具类
* @author BTMuli <bt-muli@outlook.com>
* @since Alpha v0.2.3
*/
// tauri
import { app, fs, path } from "@tauri-apps/api";
// utils
import TGSqlite from "../plugins/Sqlite";
/**

View File

@@ -1,13 +1,11 @@
/**
* @file utils UIGF.ts
* @description UIGF工具类
* @author BTMuli <bt-muli@outlook.com>
* @since Beta v0.3.0
*/
// tauri
import { app, fs, path } from "@tauri-apps/api";
// utils
import { timestampToDate } from "./t2D";
/**