From 9476c0c429479416edeb919622e1fe1f7203e988 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Tue, 6 Apr 2021 11:18:24 +0300 Subject: [PATCH] Refactor on LiveEditor --- src/views/liveeditor/LiveEditor.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/liveeditor/LiveEditor.vue b/src/views/liveeditor/LiveEditor.vue index 069ebfb61..4c349ad8e 100644 --- a/src/views/liveeditor/LiveEditor.vue +++ b/src/views/liveeditor/LiveEditor.vue @@ -59,7 +59,7 @@ export default { }); }, beforeUnmount() { - EventBus.off('view-github'); + EventBus.off('run-demo'); }, methods: { postSandboxParameters(sourceType) { @@ -361,7 +361,7 @@ ${extIndexCSS} if (this.service) { let dataArr = [], serviceArr = []; - + this.service.forEach(el => { serviceArr.push(el.split(',')) }) @@ -604,7 +604,7 @@ app.mount("#app"); ` } - _files[`src/${name}${extension}`] = { + _files[`src/${name}${extension}`] = { content: `${content} ` }