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

@@ -74,11 +74,13 @@
<script>
import { host, port } from '../../common/js/validate'
import { agent2 } from '@/components/common/js/constants'
import editRigthBox from '../mixin/editRigthBox'
export default {
name: 'agentBox',
props: {
agent: Object
},
mixins: [editRigthBox],
data () {
return {
agent2: agent2,
@@ -188,6 +190,9 @@ export default {
immediate: true,
deep: true,
handler (n) {
if (n.id) {
this.isEdit = true
}
this.editPromServer = JSON.parse(JSON.stringify(n))
}
},