默认集群没有节点时,在看板提示添加

This commit is contained in:
刘祥超
2021-08-25 11:40:57 +08:00
parent 67e6e06e72
commit 6536ace4f7
4 changed files with 16 additions and 0 deletions

View File

@@ -1,6 +1,12 @@
{$layout}
{$template "/echarts"}
<!-- 没有节点提醒 -->
<div class="ui icon message warning" v-if="dashboard.defaultClusterId > 0 && dashboard.countNodes == 0">
<i class="icon warning circle"></i>
<a :href="'/clusters/cluster/createNode?clusterId=' + dashboard.defaultClusterId">还没有在集群中添加节点,现在去添加?添加节点后才可部署网站服务。</a>
</div>
<!-- 升级提醒 -->
<div class="ui icon message error" v-if="nodeUpgradeInfo.count > 0">
<i class="icon warning circle"></i>

View File

@@ -1,6 +1,12 @@
{$layout}
{$template "/echarts"}
<!-- 没有节点提醒 -->
<div class="ui icon message warning" v-if="dashboard.defaultClusterId > 0 && dashboard.countNodes == 0">
<i class="icon warning circle"></i>
<a :href="'/clusters/cluster/createNode?clusterId=' + dashboard.defaultClusterId">还没有在集群中添加节点,现在去添加?添加节点后才可部署网站服务。</a>
</div>
<!-- 升级提醒 -->
<div class="ui icon message error" v-if="nodeUpgradeInfo.count > 0">
<i class="icon warning circle"></i>