基础设施:去掉tooltip,更改点击弹框不选择数据丢失bug

This commit is contained in:
guoyue 2022-08-26 17:51:23 +08:00
parent ca51b29fbc
commit 4a0f2eff68
3 changed files with 8 additions and 10 deletions

View File

@ -2,11 +2,9 @@
<div class="show-box" v-if="displayList.length > 0">
<div class="list-box">
<div v-for="(item, i) in displayList" :key="i">
<el-tooltip popper-class="testTooltip" effect="dark" :content="item[showKey] || '--'" placement="top">
<div class="list-item">
{{ item[showKey] || '--' }}
</div>
</el-tooltip>
</div>
</div>
</div>

View File

@ -319,13 +319,13 @@ export default {
})
this.$emit('update', {
title: this.type,
list: this.selectedArray.map(v => v.idtCameraChannel)
list: idtCameraChannelArray
})
},
close() {
this.showModal = false;
this.searchData.cameraName = ''
this.selectedArray = [];
// this.selectedArray = [];
this.$emit('closeModal');
},
clear() {

View File

@ -130,11 +130,11 @@ const res = {
}
const keyObj = {
数据资源: {
"数据资源": {
idKey: 'id',
nameKey: 'name'
},
组件服务: {
"组件服务": {
idKey: 'id',
nameKey: 'name'
}
@ -258,7 +258,7 @@ export default {
},
close () {
this.showModal = false
this.selectedArray = []
// this.selectedArray = []
this.allData = []
this.transferData = []
}