Refactor on LiveEditor

pull/1147/head
mertsincan 2021-04-06 11:18:24 +03:00
parent f4758cd54b
commit 9476c0c429
1 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ export default {
}); });
}, },
beforeUnmount() { beforeUnmount() {
EventBus.off('view-github'); EventBus.off('run-demo');
}, },
methods: { methods: {
postSandboxParameters(sourceType) { postSandboxParameters(sourceType) {
@ -361,7 +361,7 @@ ${extIndexCSS}
if (this.service) { if (this.service) {
let dataArr = [], serviceArr = []; let dataArr = [], serviceArr = [];
this.service.forEach(el => { this.service.forEach(el => {
serviceArr.push(el.split(',')) serviceArr.push(el.split(','))
}) })
@ -604,7 +604,7 @@ app.mount("#app");
` `
} }
_files[`src/${name}${extension}`] = { _files[`src/${name}${extension}`] = {
content: `${content} content: `${content}
` `
} }