Merge remote-tracking branch 'origin/master'

This commit is contained in:
wangzhijiang
2024-03-12 19:46:16 +08:00
2 changed files with 3 additions and 3 deletions
@@ -202,7 +202,7 @@ export default {
cancelText: this.$t('docTool.split.gotIt'),
title: this.$t('docTool.split.formatRequirement'),
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 = []
for (const content of contentArr) {
console.log(content)
@@ -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 {