|
@@ -14,7 +14,7 @@
|
|
|
@delRule="delRule"></SubConditions>
|
|
|
<div class="group-oper">
|
|
|
<el-button size="small" @click="addGroup">+新增分组</el-button>
|
|
|
- <el-button :class="isLast?'disable':''" :disabled="isLast" size="small" type="danger" plain @click="delGroup">-删除分组</el-button>
|
|
|
+ <el-button :disabled="isLast" size="small" type="danger" plain @click="delGroup">-删除分组</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -105,5 +105,10 @@
|
|
|
.el-button--danger.is-plain{
|
|
|
background: none;
|
|
|
color: #F56C6C;
|
|
|
+ &.is-disabled{
|
|
|
+ color: #f9a7a7;
|
|
|
+ background-color: #fef0f0;
|
|
|
+ border-color: #fde2e2;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|