use vue in place of php tpl engine to render settings template
This commit is contained in:
@@ -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);
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user