Refactor on LiveEditor
parent
f4758cd54b
commit
9476c0c429
|
@ -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}
|
||||||
`
|
`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue