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

@@ -55,11 +55,14 @@
</template>
<script>
import editRigthBox from '../mixin/editRigthBox'
export default {
name: 'modelBox',
props: {
mib: Object
},
mixins: [editRigthBox],
data () {
const $temp = this
return {
@@ -228,6 +231,9 @@ export default {
immediate: true,
deep: true,
handler (n, o) {
if (n.id) {
this.isEdit = true
}
this.editMib = JSON.parse(JSON.stringify(n))
if (this.editMib.models) {
this.selectedModels = this.editMib.models.split(',')