NEZ-807 fix: 标签关闭 提示功能

This commit is contained in:
@changcode
2021-07-05 14:43:47 +08:00
parent 6718e194d0
commit d33f6ff598
29 changed files with 164 additions and 4 deletions

View File

@@ -499,6 +499,8 @@ import nezhaColor from '../../common/nezhaColor'
import i18n from '../../common/i18n'
import { fromRoute } from '@/components/common/js/constants'
import diagram from '@/components/common/ChartDiagram/diagram'
import editRigthBox from '../../common/mixin/editRigthBox'
const rz = {
methods: {
rz (e) {
@@ -519,7 +521,7 @@ export default {
default: false
}
},
mixins: [rz],
mixins: [rz,editRigthBox],
data () {
return {
fromRoute,
@@ -1759,6 +1761,9 @@ export default {
deep: true,
immediate: true,
handler (n) {
if (n.id) {
this.isEdit = true
}
if ((n.param && n.param.valueMapping) && (n.type === 'singleStat' || n.type === 'table')) {
n.param.valueMapping.mapping.forEach(item => {
this.showPicker.push({ bac: false, text: false })