📖 code review:【分销】我的团队

This commit is contained in:
YunaiV
2024-01-04 22:22:37 +08:00
parent 2317d14ef5
commit 8b239a0aae
3 changed files with 11 additions and 9 deletions
@@ -154,6 +154,7 @@
},
value(newVal) {
this.dataList = this.getDataList(newVal)
// TODO @芋艿:这块可能被错误的注释了,需要跟进下
// fix by mehaotian is_reset 在 uni-forms 中定义
// if(!this.is_reset){
// this.is_reset = false
@@ -162,6 +163,7 @@
},
modelValue(newVal) {
this.dataList = this.getDataList(newVal);
// TODO @芋艿:这块可能被错误的注释了,需要跟进下
// if(!this.is_reset){
// this.is_reset = false
// this.formItem && this.formItem.setValue(newVal)
@@ -405,7 +407,7 @@
let selectedColor = this.selectedColor?this.selectedColor:'#2979ff'
styles['background-color'] = item.selected?selectedColor:'#fff'
styles['border-color'] = item.selected?selectedColor:'#DCDFE6'
if(!item.selected && item.disabled){
styles['background-color'] = '#F2F6FC'
styles['border-color'] = item.selected?selectedColor:'#DCDFE6'