schangxiang@126.com
2025-05-18 cf008dbb6059fe42a384e8ab35e90c4d295b9dc7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { defineComponent } from 'vue'
 
export default defineComponent({
  setup(props, { attrs, slots }) {
    const namespace = import.meta.env.VITE_APP_NAMESPACE
 
    return () => {
      return (
        <el-config-provider {...attrs} namespace={namespace}>
          {slots.default?.()}
        </el-config-provider>
      )
    }
  },
})