1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| /**
| * 禁止在非Setting配置下使用
| */
|
| import { defineComponent, SetupContext } from 'vue'
| import './CsTree.scss'
|
| export default defineComponent<any>({
| name: 'CsTree',
| setup(props, { attrs }: SetupContext) {
| const namespace = import.meta.env.VITE_APP_NAMESPACE
|
| return () => (
| <el-config-provider namespace={namespace} z-index={300}>
| <el-tree-select
| class="cs-setting-tree_custom_style"
| popper-class="settings-cs-tree_check cs-tree_check-settings"
| {...attrs}
| />
| </el-config-provider>
| )
| },
| })
|
|