@opentinyvue/vue-tree-menu 3.22.0 → 3.22.1
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/lib/index.js +3 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -212,10 +212,11 @@ function _sfc_render(_ctx, _cache, $props2, $setup, $data, $options) {
|
|
|
212
212
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = function($event) {
|
|
213
213
|
return _ctx.state.filterText = $event;
|
|
214
214
|
}),
|
|
215
|
+
class: normalizeClass((_ctx.state.isExpand || _ctx.state.isCollapsed) && "is-hidden"),
|
|
215
216
|
placeholder: _ctx.placeholder || _ctx.t("ui.treeMenu.placeholder"),
|
|
216
217
|
"prefix-icon": _ctx.searchIcon,
|
|
217
218
|
clearable: _ctx.state.clearable
|
|
218
|
-
}, null, 8, ["modelValue", "placeholder", "prefix-icon", "clearable"])) : createCommentVNode("v-if", true), createVNode(_component_tiny_tree, {
|
|
219
|
+
}, null, 8, ["modelValue", "class", "placeholder", "prefix-icon", "clearable"])) : createCommentVNode("v-if", true), createVNode(_component_tiny_tree, {
|
|
219
220
|
ref: "tree",
|
|
220
221
|
class: normalizeClass({
|
|
221
222
|
"tiny-tree-menu__wrap": !_ctx.ellipsis ? _ctx.wrap : false,
|
|
@@ -300,7 +301,7 @@ function _sfc_render(_ctx, _cache, $props2, $setup, $data, $options) {
|
|
|
300
301
|
);
|
|
301
302
|
}
|
|
302
303
|
var TreeMenu = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
303
|
-
var version = "3.
|
|
304
|
+
var version = "3.undefined";
|
|
304
305
|
TreeMenu.install = function(Vue) {
|
|
305
306
|
Vue.component(TreeMenu.name, TreeMenu);
|
|
306
307
|
};
|