NEZ-789 fix: 添加报错提示

This commit is contained in:
zhangyu
2021-07-02 14:03:17 +08:00
parent 08fa556310
commit 132b5f927c
8 changed files with 98 additions and 29 deletions

View File

@@ -59,7 +59,7 @@
</button>
</div>
</div>
<div :style="calcStyle" class="nz-transfer__box nz-transfer__box--right">
<div :style="calcStyle" class="nz-transfer__box nz-transfer__box--right" :class="showError?'error' : ''">
<div class="box__header">
<slot name="title"></slot>
<slot></slot>
@@ -131,6 +131,10 @@ export default {
},
tableTitle: {
type: Array
},
showError: {
type: Boolean,
default: false
}
},
data () {
@@ -315,4 +319,7 @@ export default {
.hide-row {
display: none !important;
}
.error{
border-color: #F56C6C !important;
}
</style>