modal
This commit is contained in:
@@ -16,14 +16,14 @@ export default {
|
||||
},
|
||||
created() {
|
||||
Factory.Get(MessageService).subscribeToChannel("show-" + this.containerName, args => {
|
||||
debugger
|
||||
|
||||
if (this.informHmi)
|
||||
Factory.Get(MessageService).publishToChannel("HMI-show-modal");
|
||||
this.currentView = args[0];
|
||||
});
|
||||
|
||||
Factory.Get(MessageService).subscribeToChannel("hide-" + this.containerName, args => {
|
||||
debugger
|
||||
|
||||
if (this.informHmi)
|
||||
Factory.Get(MessageService).publishToChannel("HMI-hide-modal", 300);
|
||||
this.currentView = null;
|
||||
|
||||
Reference in New Issue
Block a user