@opentiny/vue-renderless 3.11.7 → 3.11.8
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/common/deps/vue-popper.js +1 -1
- package/package.json +1 -1
- package/select/index.js +4 -2
- package/select/vue.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-renderless",
|
|
3
|
-
"version": "3.11.
|
|
3
|
+
"version": "3.11.8",
|
|
4
4
|
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",
|
|
5
5
|
"homepage": "https://opentiny.design/tiny-vue",
|
|
6
6
|
"keywords": [
|
package/select/index.js
CHANGED
|
@@ -885,10 +885,12 @@ const toVisible = ({ constants, state, props, vm, api, nextTick }) => () => {
|
|
|
885
885
|
});
|
|
886
886
|
postOperOfToVisible({ props, state, constants });
|
|
887
887
|
};
|
|
888
|
-
const toHide = ({ constants, state, props, vm, api }) => () => {
|
|
888
|
+
const toHide = ({ constants, state, props, vm, api, nextTick }) => () => {
|
|
889
889
|
var _a, _b;
|
|
890
890
|
state.selectEmitter.emit(constants.COMPONENT_NAME.SelectDropdown);
|
|
891
|
-
|
|
891
|
+
nextTick(() => {
|
|
892
|
+
state.selectEmitter.emit(constants.EVENT_NAME.updatePopper);
|
|
893
|
+
});
|
|
892
894
|
if (state.filterOrSearch) {
|
|
893
895
|
state.query = props.remote || props.shape ? "" : props.renderType !== constants.TYPE.Tree ? state.selectedLabel : "";
|
|
894
896
|
state.previousQuery !== state.query && api.handleQueryChange(state.query);
|
package/select/vue.js
CHANGED
|
@@ -257,7 +257,7 @@ const addApi = ({ api: api2, props, state, emit, constants, parent, nextTick, di
|
|
|
257
257
|
handleFocus: handleFocus({ api: api2, emit, props, state }),
|
|
258
258
|
deleteTag: deleteTag({ api: api2, constants, emit, props, vm, nextTick, state }),
|
|
259
259
|
watchValue: watchValue({ api: api2, constants, dispatch, props, vm, state }),
|
|
260
|
-
toHide: toHide({ constants, state, props, vm, api: api2 }),
|
|
260
|
+
toHide: toHide({ constants, state, props, vm, api: api2, nextTick }),
|
|
261
261
|
toVisible: toVisible({ constants, state, props, vm, api: api2, nextTick }),
|
|
262
262
|
setSelected: setSelected({ api: api2, constants, nextTick, props, vm, state }),
|
|
263
263
|
selectOption: selectOption({ api: api2, state, props }),
|