Commit 06936cf9 authored by “yiyousong”'s avatar “yiyousong”

perf: 优化应用历史版本列表

parent d1f1ad8d
......@@ -78,20 +78,26 @@
<!-- 操作 -->
<template slot="action" slot-scope="{ record }">
<a-space size="middle">
<span
<a-button
type="link"
class="primary pointer"
:disabled="record.used ? true : false"
@click="handleUse(record.id)"
>使用</span
>使用</a-button
>
<span class="primary pointer" @click="handlePreview(record.id)"
>预览</span
<a-button
type="link"
class="primary pointer"
:disabled="record.used ? false : true"
@click="handlePreview(record.id)"
>预览</a-button
>
<span
<a-button
type="link"
class="delete pointer"
v-permission="[1]"
@click="handleDel(record.id)"
>删除</span
>删除</a-button
>
</a-space>
</template>
......@@ -366,4 +372,7 @@ export default {
/deep/.ant-form-item {
align-items: flex-start;
}
/deep/.ant-btn-link {
padding: 0px;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment