bk-magic-vue 2.5.9-beta.28 → 2.5.9-beta.29

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.
@@ -57721,7 +57721,7 @@
57721
57721
  childrenKey = _this$nodeOptions.childrenKey;
57722
57722
  list.forEach(function (item, index) {
57723
57723
  item.id = _this4.multiple ? String(item[idKey]) : item[idKey];
57724
- item.name = item[nameKey] || '';
57724
+ item.name = item[nameKey] !== null && item[nameKey] !== undefined ? item[nameKey] : '';
57725
57725
  var children = item[childrenKey];
57726
57726
  if (isArray$1(children)) {
57727
57727
  item.children = _this4.recurrenceNodes(children);
@@ -58188,7 +58188,7 @@
58188
58188
  attrs: {
58189
58189
  "title": _vm.selectedName
58190
58190
  }
58191
- }, [_vm.filterable && _vm.isUnselected && _vm.changeImmediately ? _c('input', {
58191
+ }, [_vm._v("\n " + _vm._s( /* changeImmediately 开启时,要求 filterable ture,且未选择; 默认情况下只要 filterable 为 true,就打开搜索,不破坏原有逻辑 */) + "\n "), (_vm.changeImmediately ? _vm.filterable && _vm.currentList.length === 0 : _vm.filterable) ? _c('input', {
58192
58192
  directives: [{
58193
58193
  name: "model",
58194
58194
  rawName: "v-model",