lw-cdp-ui 1.4.80 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -123,7 +123,7 @@ export default {
123
123
  if (item?.options) {
124
124
  // 通用属性
125
125
  propsItem.placeholder = item.options.placeholder || ''
126
- propsItem.clearable = item.options.clearable || true
126
+ propsItem.clearable = item.options.clearable ?? true
127
127
  if (item.options.type) propsItem.type = item.options.type
128
128
  if (item.options?.maxlength) {
129
129
  propsItem.maxlength = item.options.maxlength