优化界面和文字

This commit is contained in:
GoEdgeLab
2022-10-18 10:31:20 +08:00
parent 9bd291d635
commit 14f3702bb5
3 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
// 启用状态标签
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>'
template: '<div><span v-if="vIsOn" class="green">已启用</span><span v-if="!vIsOn" class="red">已停用</span></div>'
})
// 文字代码标签