优化命令片段处理逻辑.

This commit is contained in:
lijiahangmax
2024-08-02 01:52:29 +08:00
parent 18c605354a
commit 8ed42131d0
30 changed files with 327 additions and 415 deletions

View File

@@ -144,7 +144,7 @@
<template #permission="{ record }">
<span v-if="record.permission"
class="text-copy"
@click="copy(record.permission, '已复制')">
@click="copy(record.permission, true)">
{{ record.permission }}
</span>
</template>
@@ -152,7 +152,7 @@
<template #component="{ record }">
<span v-if="record.component"
class="text-copy"
@click="copy(record.component, '已复制')">
@click="copy(record.component, true)">
{{ record.component }}
</span>
</template>
@@ -160,7 +160,7 @@
<template #path="{ record }">
<span v-if="record.path"
class="text-copy"
@click="copy(record.path, '已复制')">
@click="copy(record.path, true)">
{{ record.path }}
</span>
</template>

View File

@@ -23,7 +23,7 @@
:column="1">
<!-- 机器码 -->
<a-descriptions-item label="机器码">
<span class="text-copy span-blue uuid-wrapper" @click="copy(app.uuid, '已复制')">
<span class="text-copy span-blue uuid-wrapper" @click="copy(app.uuid, true)">
{{ app.uuid }}
</span>
</a-descriptions-item>