新旧拆分单对比--发起比对--新旧条款目录,展示不完整
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
<div class="header-text">
|
||||
{{ $t('docTool.split.clauseContent') }}
|
||||
<!--新增条款项-->
|
||||
<a-button type="primary" icon="plus" ghost @click="handleAddClauseContent()">{{ $t('newlyAdded') }}</a-button>
|
||||
<a-button type="primary" icon="plus" ghost @click="handleAddClauseContent('top')">{{ $t('newlyAdded') }}</a-button>
|
||||
</div>
|
||||
<template v-if="contentList && contentList.length > 0">
|
||||
<div class="clause-item" v-for="(clause, index) in contentList" :key="index + 'clause'">
|
||||
@@ -216,7 +216,7 @@ export default {
|
||||
if (index === -1) {
|
||||
this.isTopList = false
|
||||
this.addIndex = this.contentList.length - 1
|
||||
} else if (!index) {
|
||||
} else if (index == 'top') {
|
||||
this.isTopList = true
|
||||
this.addIndex = this.contentList.length - 1
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user