mirror of
https://gitee.com/JavaLionLi/plus-ui.git
synced 2026-09-15 00:25:07 +08:00
22 lines
369 B
Vue
22 lines
369 B
Vue
<template>
|
|
<el-col :span="colSpan">
|
|
<el-form-item :label="label" :prop="prop">
|
|
<el-tree-select v-bind="$attrs"></el-tree-select>
|
|
</el-form-item>
|
|
</el-col>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
defineProps({
|
|
label: String,
|
|
prop: String,
|
|
/**
|
|
* 每行显示几个, 默认24
|
|
*/
|
|
colSpan: {
|
|
type: Number,
|
|
default: 24
|
|
}
|
|
});
|
|
</script>
|