mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-04-11 08:23:22 +08:00
🎨 代码格式化
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user