refactor(client):

This commit is contained in:
syuilo
2020-04-20 21:35:27 +09:00
parent 533c9a4fe1
commit 2ee0e07bb6
25 changed files with 285 additions and 293 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div>
<div>{{ script.interpolate(value.title) }}</div>
<div>{{ hpml.interpolate(value.title) }}</div>
<mk-radio v-for="x in value.values" v-model="v" :value="x" :key="x">{{ x }}</mk-radio>
</div>
</template>
@@ -17,7 +17,7 @@ export default Vue.extend({
value: {
required: true
},
script: {
hpml: {
required: true
}
},
@@ -28,8 +28,8 @@ export default Vue.extend({
},
watch: {
v() {
this.script.aoiScript.updatePageVar(this.value.name, this.v);
this.script.eval();
this.hpml.updatePageVar(this.value.name, this.v);
this.hpml.eval();
}
}
});