🎨 代码格式化

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

@@ -12,9 +12,10 @@
<script lang="ts" setup>
import { StyleValue, ref } from "vue";
import TpoImage from "./tpo-image.vue";
import { bytesToSize } from "../../utils/toolFunc";
import TpoImage from "./tpo-image.vue";
export interface TpImage {
insert: {
image: string;

View File

@@ -83,7 +83,6 @@ onMounted(async () => {
}),
fullscreen: true,
icons: {
// eslint-disable-next-line @typescript-eslint/quotes
state: `<img src="/source/UI/video_play.svg" alt="icon" />`,
},
lang: "zh-cn",

View File

@@ -25,12 +25,13 @@
<script setup lang="ts">
import { computed, onUnmounted, ref } from "vue";
import { TpImage } from "./tp-image.vue";
import { copyToClipboard, getImageBuffer, saveCanvasImg } from "../../utils/TGShare";
import { bytesToSize } from "../../utils/toolFunc";
import showSnackbar from "../func/snackbar";
import TOverlay from "../main/t-overlay.vue";
import { TpImage } from "./tp-image.vue";
interface TpoImageProps {
image: TpImage;
modelValue: boolean;