This commit is contained in:
syuilo 2020-04-12 19:57:18 +09:00
parent f07047d1e8
commit e7da10ae58
2 changed files with 13 additions and 2 deletions

View file

@ -72,7 +72,9 @@ export default Vue.extend({
methods: {
async run() {
this.logs = [];
const aiscript = new AiScript(createAiScriptEnv(this), {
const aiscript = new AiScript(createAiScriptEnv(this, {
storageKey: 'scratchpad'
}), {
in: (q) => {
return new Promise(ok => {
this.$root.dialog({