tk-eui-plus
Version:
2 lines (1 loc) • 619 B
JavaScript
(function(e,n){typeof exports=="object"&&typeof module<"u"?module.exports=n(require("vue")):typeof define=="function"&&define.amd?define(["vue"],n):(e=typeof globalThis<"u"?globalThis:e||self,e.index=n(e.Vue))})(this,function(e){"use strict";const n=e.defineComponent({__name:"index",props:{options:{type:Array,default:()=>[]},clearable:{type:Boolean,default:!0}},setup(t){return(o,s)=>{const i=e.resolveComponent("el-cascader");return e.openBlock(),e.createBlock(i,e.mergeProps({options:t.options,clearable:t.clearable},o.$attrs),null,16,["options","clearable"])}}});return{install(t){t.component("tkCascader",n)}}});