[update] 修改bug77937,77958,78028,78031
This commit is contained in:
@@ -123,13 +123,15 @@
|
||||
</template>
|
||||
<!-- 没有编辑删除权限 -->
|
||||
<template v-else>
|
||||
<a v-for="(operation, index) in operationList.slice(0, operateMaxNum)" :key="index" @click="operationClick(operation,record)">
|
||||
<template v-if="operation.text === $t('enterpriseStandardLibrary.standard.collection')">
|
||||
<template v-if="operationList.find(item => item.text === $t('enterpriseStandardLibrary.standard.collection'))">
|
||||
<a @click="operationClick(operationList.find(item => item.text === $t('enterpriseStandardLibrary.standard.collection')),record)">
|
||||
<i class="iconfont icon-star1" v-show="record.collectionFlag" />
|
||||
<i class="iconfont icon-star" v-show="!record.collectionFlag" />
|
||||
</template>
|
||||
</a>
|
||||
<a-divider v-if="operationList.find(item => item.text === $t('share'))" type="vertical" />
|
||||
</a>
|
||||
</template>
|
||||
<a-divider v-if="operationList.find(item => item.text === $t('share')) &&
|
||||
operationList.find(item => item.text === $t('enterpriseStandardLibrary.standard.collection'))"
|
||||
type="vertical" />
|
||||
<template v-if="operationList.find(item => item.text === $t('share'))">
|
||||
<template v-for="(operation, index) in operationList.slice(operateMaxNum)">
|
||||
<a :key="index" @click="operationClick(operation,record)" v-if="operation.text === $t('share')">
|
||||
|
||||
Reference in New Issue
Block a user