review code.

This commit is contained in:
lijiahangmax
2024-01-28 22:26:12 +08:00
parent 6497124554
commit bfc0057aa8
2 changed files with 1 additions and 6 deletions

View File

@@ -71,7 +71,7 @@
<script lang="ts" setup>
import type { CommandSnippetWrapperResponse, CommandSnippetQueryResponse } from '@/api/asset/command-snippet';
import { onMounted, ref, provide } from 'vue';
import { ref, provide } from 'vue';
import useVisible from '@/hooks/visible';
import useLoading from '@/hooks/loading';
import { deleteCommandSnippet, getCommandSnippetList } from '@/api/asset/command-snippet';
@@ -270,9 +270,6 @@
getCurrentTerminalSession(false)?.focus();
};
// fixme
onMounted(open);
</script>
<style lang="less" scoped>

View File

@@ -126,8 +126,6 @@
const { copy } = useCopy();
const { getCurrentTerminalSession } = useTerminalStore();
// TODO 多行拼接有bug
let clickCount = 0;
// 修改