Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -202,7 +202,7 @@ export default {
|
|||||||
cancelText: this.$t('docTool.split.gotIt'),
|
cancelText: this.$t('docTool.split.gotIt'),
|
||||||
title: this.$t('docTool.split.formatRequirement'),
|
title: this.$t('docTool.split.formatRequirement'),
|
||||||
content: (h) => {
|
content: (h) => {
|
||||||
const contentArr = ['1.导入的文档是zip格式', '2.图片为jpg、jpeg、 png、 gif格式', '3.文档中的图片,在导入exceI中以文件名填写,图文件存放在相对路径的目录下', '4.文档中的表格,在导入exceI中以链接的形式展示,击链接跳转到指定的sheet页面']
|
const contentArr = ['1.导入的文档是zip格式', '2.图片为jpg、jpeg、 png、 gif格式', '3.文档中的图片,在导入excel中以文件名填写,图片文件存放在相对路径的目录下', '4.文档中的表格,在导入excel中以链接的形式展示,点击链接跳转到指定的sheet页面']
|
||||||
const contentDomArr = []
|
const contentDomArr = []
|
||||||
for (const content of contentArr) {
|
for (const content of contentArr) {
|
||||||
console.log(content)
|
console.log(content)
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
<div class="header-text">
|
<div class="header-text">
|
||||||
{{ $t('docTool.split.clauseContent') }}
|
{{ $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>
|
</div>
|
||||||
<template v-if="contentList && contentList.length > 0">
|
<template v-if="contentList && contentList.length > 0">
|
||||||
<div class="clause-item" v-for="(clause, index) in contentList" :key="index + 'clause'">
|
<div class="clause-item" v-for="(clause, index) in contentList" :key="index + 'clause'">
|
||||||
@@ -216,7 +216,7 @@ export default {
|
|||||||
if (index === -1) {
|
if (index === -1) {
|
||||||
this.isTopList = false
|
this.isTopList = false
|
||||||
this.addIndex = this.contentList.length - 1
|
this.addIndex = this.contentList.length - 1
|
||||||
} else if (!index) {
|
} else if (index == 'top') {
|
||||||
this.isTopList = true
|
this.isTopList = true
|
||||||
this.addIndex = this.contentList.length - 1
|
this.addIndex = this.contentList.length - 1
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user