fix init code run

This commit is contained in:
2022-11-24 10:38:01 +01:00
parent 52f49c8a95
commit e541dd11b6
2 changed files with 3 additions and 2 deletions

View File

@@ -26,6 +26,9 @@ export default defineComponent({
result: '',
}
},
mounted() {
this.run(codeService.get());
},
methods: {
run(code) {
this.terminate();