[update] 样式

This commit is contained in:
zhaomeijing
2022-06-10 18:00:38 +08:00
parent 8af3b8d2b7
commit ed44780a07
2 changed files with 5 additions and 5 deletions
@@ -122,10 +122,6 @@ export default {
this.visible = true
this.title = '新增'
this.formInline = {}
this.formInline.state = '1'
// this.$nextTick(() => {
// this.$refs['ruleForm'].resetFields();
// })
},
editModel(value) {
this.visible = true
@@ -59,6 +59,9 @@
<span slot="projectName" slot-scope="text,record">
<a @click="entryNameClick(record)">{{text}}</a>
</span>
<span slot="titleName" slot-scope="text,record" :title="text">
{{ text && text.length > 100 ? text.slice(0, 99) + '...' : text }}
</span>
<span slot="operation" slot-scope="text,record">
<a class="text-operation" v-has="'params:template:edit'" @click="edit(record)">{{$t('edit')}}</a>
<a class="text-operation" v-has="'params:template:delete'" @click="deleteLib(record)">{{$t('deleteLib')}}</a>
@@ -160,7 +163,8 @@ export default {
{
title: this.$t('contentDescription'),
align: 'center',
dataIndex: 'description'
dataIndex: 'description',
scopedSlots: { customRender: 'titleName' }
},
{
title: this.$t('createTime'),