From aae1479ae7baa95c125cd8868a1bccb96267cec2 Mon Sep 17 00:00:00 2001 From: zeus Date: Sun, 6 Dec 2020 18:13:45 +0200 Subject: [PATCH] hotreload --- src/components/doclive/AdhocView.vue | 82 ++++++++++++++++++++++++- src/store/modules/create_pipelineLLO.js | 4 ++ 2 files changed, 84 insertions(+), 2 deletions(-) diff --git a/src/components/doclive/AdhocView.vue b/src/components/doclive/AdhocView.vue index 7d9128c..ae21594 100644 --- a/src/components/doclive/AdhocView.vue +++ b/src/components/doclive/AdhocView.vue @@ -41,7 +41,7 @@ v-if="socketonline" @click="socketconnect" > - online + online - + +
+
+ +
` + + + + this.$swal({ + title: 'HowTo', + type: 'info', + html: html1, + showCloseButton: true, + showLoaderOnConfirm: false, + allowOutsideClick: false + }) } }, @@ -420,6 +496,8 @@ export default { }, created () { + this.token = new URL(location.href).searchParams.get('token'); + this.swarmlabname = new URL(location.href).searchParams.get('swarmlabname'); } }; diff --git a/src/store/modules/create_pipelineLLO.js b/src/store/modules/create_pipelineLLO.js index 0beea8b..621e744 100644 --- a/src/store/modules/create_pipelineLLO.js +++ b/src/store/modules/create_pipelineLLO.js @@ -112,6 +112,10 @@ export default { } } }, + async hotreload({commit,rootGetters}, value) { + console.log(value.token) + console.log(value.swarmlabname) + }, setScriptllo({commit}, value) { //console.log("container "+value) commit('setllo', value)