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

@@ -82,6 +82,7 @@
<script>
// import { host, port } from '@/components/common/js/validate'
import editRigthBox from '../../mixin/editRigthBox'
export default {
name: 'userBox',
@@ -92,6 +93,7 @@ export default {
type: Object
}
},
mixins: [editRigthBox],
computed: {
isCurrentUser () {
return function (username) {
@@ -157,6 +159,9 @@ export default {
deep: true,
immediate: true,
handler (n) {
if (n.id) {
this.isEdit =true
}
this.editUser = JSON.parse(JSON.stringify(n))
// if (this.editUser.roles && this.editUser.roles.length > 0) {
// this.editUser.roleIds = this.editUser.roles.map(t => t.id)