style(接口测试): 取消脚本编辑组件的撤销按钮

--bug=1037430 --user=宋天阳 【接口测试】定义-调试-后置-脚本操作-新创建脚本撤销可点击 https://www.tapd.cn/55049933/s/1479670
This commit is contained in:
song-tianyang 2024-03-25 10:48:05 +08:00 committed by Craftsman
parent 6dce4ab078
commit 6d5a46d367
2 changed files with 16 additions and 16 deletions

View File

@ -2,10 +2,10 @@
<div v-if="props.showHeader && props.showType === 'commonScript'" class="w-full bg-[var(--color-bg-3)] p-4 pb-0">
<div class="flex items-center justify-between">
<div>
<MsTag class="!mr-2 cursor-pointer" theme="outline" @click="undoHandler">
<template #icon><icon-undo class="mr-1 text-[16px] text-[var(--color-text-4)]" /> </template>
{{ t('project.commonScript.undo') }}</MsTag
>
<!-- <MsTag class="!mr-2 cursor-pointer" theme="outline" @click="undoHandler">-->
<!-- <template #icon><icon-undo class="mr-1 text-[16px] text-[var(&#45;&#45;color-text-4)]" /> </template>-->
<!-- {{ t('project.commonScript.undo') }}</MsTag-->
<!-- >-->
<MsTag theme="outline" class="cursor-pointer" @click="clearCode">
<template #icon>
<icon-eraser class="mr-1 text-[16px] text-[var(--color-text-4)]" />

View File

@ -143,18 +143,18 @@
</template>
{{ t('project.commonScript.formatting') }}
</a-button>
<a-button
:disabled="props.disabled"
type="outline"
class="arco-btn-outline--secondary p-[0_8px]"
size="mini"
@click="undoScript"
>
<template #icon>
<MsIcon type="icon-icon_undo_outlined" class="text-var(--color-text-4)" size="12" />
</template>
{{ t('common.revoke') }}
</a-button>
<!-- <a-button-->
<!-- :disabled="props.disabled"-->
<!-- type="outline"-->
<!-- class="arco-btn-outline&#45;&#45;secondary p-[0_8px]"-->
<!-- size="mini"-->
<!-- @click="undoScript"-->
<!-- >-->
<!-- <template #icon>-->
<!-- <MsIcon type="icon-icon_undo_outlined" class="text-var(&#45;&#45;color-text-4)" size="12" />-->
<!-- </template>-->
<!-- {{ t('common.revoke') }}-->
<!-- </a-button>-->
<a-button
:disabled="props.disabled"
type="outline"