use vue in place of php tpl engine to render settings template

This commit is contained in:
huangjx
2022-02-22 17:34:23 +08:00
parent 23a593c987
commit 2efdd2ddfb
7 changed files with 145 additions and 46 deletions

View File

@@ -15,6 +15,7 @@
<script>
export default {
name: "toggleButton",
props: {
disabled: {
type: Boolean,
@@ -40,6 +41,7 @@ export default {
default: false,
},
},
methods: {},
data() {
return {
@@ -68,7 +70,7 @@ export default {
set(value) {
this.status = value;
this.$emit("change", value);
this.$emit("changed", value);
},
},
},