可以批量远程安装和升级节点

This commit is contained in:
GoEdgeLab
2021-01-31 16:03:52 +08:00
parent 081f3b1ffc
commit 74f2e86f51
24 changed files with 495 additions and 217 deletions

View File

@@ -29,6 +29,13 @@ Vue.component("checkbox", {
this.$emit("input", this.newValue)
}
},
watch: {
value: function (v) {
if (typeof v == "boolean") {
this.newValue = v
}
}
},
template: `<div class="ui checkbox">
<input type="checkbox" :name="name" :value="elementValue" :id="elementId" @change="change" v-model="newValue"/>
<label :for="elementId" style="font-size: 0.85em!important;"><slot></slot></label>