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

@@ -52,6 +52,7 @@
</template>
<script>
import editRigthBox from '../mixin/editRigthBox'
export default {
name: 'cabinetBox',
props: {
@@ -62,6 +63,7 @@ export default {
default: true
}
},
mixins: [editRigthBox],
data () {
return {
editCabinet: {},
@@ -156,6 +158,9 @@ export default {
deep: true,
immediate: true,
handler: function (n, o) {
if (n.id) {
this.isEdit = true
}
if (n) {
this.editCabinet = JSON.parse(JSON.stringify(n))
}