123456789101112131415161718192021222324252627282930313233 |
- export { default as ContactConsult } from '../..\\components\\ContactConsult\\index.vue'
- export { default as ContactJoinUs } from '../..\\components\\ContactJoinUs\\index.vue'
- // nuxt/nuxt.js#8607
- function wrapFunctional(options) {
- if (!options || !options.functional) {
- return options
- }
- const propKeys = Array.isArray(options.props) ? options.props : Object.keys(options.props || {})
- return {
- render(h) {
- const attrs = {}
- const props = {}
- for (const key in this.$attrs) {
- if (propKeys.includes(key)) {
- props[key] = this.$attrs[key]
- } else {
- attrs[key] = this.$attrs[key]
- }
- }
- return h(options, {
- on: this.$listeners,
- attrs,
- props,
- scopedSlots: this.$scopedSlots,
- }, this.$slots.default)
- }
- }
- }
|