Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @yoyohan1/vue-treeselect with all npm packages installed. Try it out:

require("vue/package.json"); // vue is a peer dependency. var vueTreeselect = require("@yoyohan1/vue-treeselect")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@yoyohan1/vue-treeselect v0.1.5

这个插件是github上riophae分享的 我修改了部分代码放在https://gitee.com/yoyohan1/vue-treeselect,实现了1.单选时 点击非最终子节点时不会关闭下拉框 并且可以设置值 参见Option.vue和treeselectMixin.js

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free