NEZ-807 fix: 标签关闭 提示功能
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import editRigthBox from '../mixin/editRigthBox'
|
||||
export default {
|
||||
name: 'panelBox',
|
||||
props: {
|
||||
@@ -38,6 +39,7 @@ export default {
|
||||
type: Object
|
||||
}
|
||||
},
|
||||
mixins: [editRigthBox],
|
||||
data () {
|
||||
return {
|
||||
url: 'visual/panel',
|
||||
@@ -122,6 +124,9 @@ export default {
|
||||
immediate: true,
|
||||
deep: true,
|
||||
handler (n, o) {
|
||||
if (n.id) {
|
||||
this.isEdit = true
|
||||
}
|
||||
this.editPanel = JSON.parse(JSON.stringify(n))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user