增加API节点安装配置界面

This commit is contained in:
GoEdgeLab
2020-10-11 10:51:13 +08:00
parent 32ac0d62d3
commit 36f7c292ea
34 changed files with 553 additions and 156 deletions

View File

@@ -1,4 +1,10 @@
// 启用状态标签
Vue.component("label-on", {
props: ["v-is-on"],
template: '<div><span v-if="vIsOn" class="ui label tiny green basic">已启用</span><span v-if="!vIsOn" class="ui label tiny red basic">已停用</span></div>'
})
// 文字代码标签
Vue.component("code-label", {
template: `<span class="ui label basic tiny" style="padding: 3px;margin-left:2px;margin-right:2px"><slot></slot></span>`
})