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

@@ -142,12 +142,14 @@
<script>
import assetTagEx from '../../page/asset/components/assetTagEx'
import editRigthBox from '../mixin/editRigthBox'
export default {
name: 'assetLabelBox',
props: {
obj: { type: Object }
},
components: { assetTagEx },
mixins: [editRigthBox],
data () {
return {
ready: false,
@@ -233,6 +235,9 @@ export default {
deep: true,
immediate: true,
handler (n) {
if (n.id) {
this.isEdit = true
}
this.editAssetMeta = {
...n,
groupId: n.groupId ? Number(n.groupId) : '',