服务列表按钮位置优化

1.x
tanghc 5 years ago
parent 69a2b80873
commit 1f71312184
  1. 2
      sop-admin/sop-admin-vue/src/views/service/serviceList.vue

@ -82,8 +82,10 @@
<el-button v-if="!scope.row.metadata.env" type="text" size="mini" @click="onEnvPreOpen(scope.row)">开启预发布</el-button>
<el-button v-if="!scope.row.metadata.env" type="text" size="mini" @click="onEnvGrayOpen(scope.row)">开启灰度</el-button>
</span>
<span style="margin-left: 10px;">
<el-button v-if="scope.row.status === 'UP'" type="text" size="mini" @click="onDisable(scope.row)">禁用</el-button>
<el-button v-if="scope.row.status === 'OUT_OF_SERVICE'" type="text" size="mini" @click="onEnable(scope.row)">启用</el-button>
</span>
</div>
</template>
</el-table-column>

Loading…
Cancel
Save