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

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

parent d1f1ad8d
...@@ -78,20 +78,26 @@ ...@@ -78,20 +78,26 @@
<!-- 操作 --> <!-- 操作 -->
<template slot="action" slot-scope="{ record }"> <template slot="action" slot-scope="{ record }">
<a-space size="middle"> <a-space size="middle">
<span <a-button
type="link"
class="primary pointer" class="primary pointer"
:disabled="record.used ? true : false" :disabled="record.used ? true : false"
@click="handleUse(record.id)" @click="handleUse(record.id)"
>使用</span >使用</a-button
> >
<span class="primary pointer" @click="handlePreview(record.id)" <a-button
>预览</span type="link"
class="primary pointer"
:disabled="record.used ? false : true"
@click="handlePreview(record.id)"
>预览</a-button
> >
<span <a-button
type="link"
class="delete pointer" class="delete pointer"
v-permission="[1]" v-permission="[1]"
@click="handleDel(record.id)" @click="handleDel(record.id)"
>删除</span >删除</a-button
> >
</a-space> </a-space>
</template> </template>
...@@ -366,4 +372,7 @@ export default { ...@@ -366,4 +372,7 @@ export default {
/deep/.ant-form-item { /deep/.ant-form-item {
align-items: flex-start; align-items: flex-start;
} }
/deep/.ant-btn-link {
padding: 0px;
}
</style> </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