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

This commit is contained in:
刘祥超
2021-01-31 16:03:52 +08:00
parent cc5a34c20e
commit 14636ed82f
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>