This commit is contained in:
zyy 2020-02-06 11:20:27 +08:00
commit 3053bdc26e
5 changed files with 9 additions and 2 deletions

View File

@ -82,6 +82,7 @@ export default {
}
},
mounted() {
this.$emit('iscsChange', this.$route.params.id);
},
beforeDestroy() {

View File

@ -103,6 +103,7 @@ export default {
}
},
mounted() {
this.$emit('iscsChange', this.$route.params.id);
},
beforeDestroy() {

View File

@ -170,6 +170,9 @@ export default {
enabledTab: 'frozenPump'
};
},
mounted() {
this.$emit('iscsChange', this.$route.params.id);
},
methods:{
createDataModel(model) {
const newModel = deviceFactory(model._type, model);

View File

@ -93,9 +93,9 @@ export default {
}
},
mounted() {
this.$emit('iscsChange', this.$route.params.id);
},
beforeDestroy() {
},
methods: {
createDataModel(model) {

View File

@ -152,7 +152,9 @@ export default {
},
//
onContextMenu(em) {
if (em.eventTarget) {
this.$store.dispatch('iscs/setUpdateDeviceData', em.eventTarget.model);
}
},
//
drawIscsInit() {