bkui-vue 0.0.2-beta.131 → 0.0.2-beta.133
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.
- package/dist/index.cjs.js +17 -17
- package/dist/index.esm.js +765 -765
- package/dist/index.umd.js +17 -17
- package/lib/directives/index.js +1 -1
- package/lib/search-select/index.js +4 -4
- package/package.json +1 -1
package/lib/directives/index.js
CHANGED
@@ -985,7 +985,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
985
985
|
|
986
986
|
|
987
987
|
|
988
|
-
var tooltips_nodeList = new
|
988
|
+
var tooltips_nodeList = new WeakMap();
|
989
989
|
var tooltips = {
|
990
990
|
beforeMount: function beforeMount(el, binding) {
|
991
991
|
var opts = getOpts(binding);
|
@@ -1899,9 +1899,9 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
1899
1899
|
function setInputFocus() {
|
1900
1900
|
var refleshMenuList = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
1901
1901
|
if (refleshMenuList) {
|
1902
|
-
(
|
1902
|
+
setTimeout(function () {
|
1903
1903
|
setMenuList();
|
1904
|
-
});
|
1904
|
+
}, 16);
|
1905
1905
|
}
|
1906
1906
|
isFocus.value = true;
|
1907
1907
|
showPopover.value = true;
|
@@ -2448,7 +2448,6 @@ var SearchSelectProps = {
|
|
2448
2448
|
(0,external_vue_namespaceObject.watch)(function () {
|
2449
2449
|
return props.modelValue;
|
2450
2450
|
}, function (v) {
|
2451
|
-
var _copyData$value3;
|
2452
2451
|
if (!(v !== null && v !== void 0 && v.length)) {
|
2453
2452
|
var _copyData$value2;
|
2454
2453
|
selectedList.value = [];
|
@@ -2488,7 +2487,8 @@ var SearchSelectProps = {
|
|
2488
2487
|
}
|
2489
2488
|
});
|
2490
2489
|
selectedList.value = list;
|
2491
|
-
|
2490
|
+
copyData.value = JSON.parse(JSON.stringify(props.data || []));
|
2491
|
+
copyData.value.forEach(function (item) {
|
2492
2492
|
item.isSelected = props.uniqueSelect && !!list.some(function (set) {
|
2493
2493
|
return set.id === item.id;
|
2494
2494
|
});
|