review code.
This commit is contained in:
@@ -71,7 +71,7 @@
|
|||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { CommandSnippetWrapperResponse, CommandSnippetQueryResponse } from '@/api/asset/command-snippet';
|
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 useVisible from '@/hooks/visible';
|
||||||
import useLoading from '@/hooks/loading';
|
import useLoading from '@/hooks/loading';
|
||||||
import { deleteCommandSnippet, getCommandSnippetList } from '@/api/asset/command-snippet';
|
import { deleteCommandSnippet, getCommandSnippetList } from '@/api/asset/command-snippet';
|
||||||
@@ -270,9 +270,6 @@
|
|||||||
getCurrentTerminalSession(false)?.focus();
|
getCurrentTerminalSession(false)?.focus();
|
||||||
};
|
};
|
||||||
|
|
||||||
// fixme
|
|
||||||
onMounted(open);
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|||||||
@@ -126,8 +126,6 @@
|
|||||||
const { copy } = useCopy();
|
const { copy } = useCopy();
|
||||||
const { getCurrentTerminalSession } = useTerminalStore();
|
const { getCurrentTerminalSession } = useTerminalStore();
|
||||||
|
|
||||||
// TODO 多行拼接有bug
|
|
||||||
|
|
||||||
let clickCount = 0;
|
let clickCount = 0;
|
||||||
|
|
||||||
// 修改
|
// 修改
|
||||||
|
|||||||
Reference in New Issue
Block a user