集群可以设置systemd系统服务

This commit is contained in:
GoEdgeLab
2021-01-11 18:15:53 +08:00
parent e954e57f3d
commit 18f0f13cd0
12 changed files with 247 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
let checkboxId = 0
Vue.component("checkbox", {
props: ["name", "value", "v-value", "id"],
props: ["name", "value", "v-value", "id", "checked"],
data: function () {
checkboxId++
let elementId = this.id
@@ -13,10 +13,15 @@ Vue.component("checkbox", {
elementValue = "1"
}
let checkedValue = this.value
if (checkedValue == null && this.checked == "checked") {
checkedValue = elementValue
}
return {
elementId: elementId,
elementValue: elementValue,
newValue: this.value
newValue: checkedValue
}
},
methods: {