XiaoDaiGua-Ray 403fdd589a feat!: rebuild Ray Template as a monorepo
Share workspace packages between Ray Admin and the interactive docs.

BREAKING CHANGE: v6 is a new major line. v5 stays on legacy/v5.
2026-11-04 14:01:28 +08:00

25 lines
744 B
TypeScript

import AppRequestCancelerProvider from '@/app-components/provider/AppRequestCancelerProvider'
import { RTransitionComponent } from '@/components'
import { useRuntimeGetters, useSettingGetters } from '@/store'
export default defineComponent({
name: 'LayoutContentWrapper',
setup() {
const { globalMainLayoutLoad } = useRuntimeGetters()
const { getContentTransition } = useSettingGetters()
return () => (
<>
<AppRequestCancelerProvider />
{globalMainLayoutLoad.value ? (
<RTransitionComponent
class="content-wrapper"
transitionPropName={`${getContentTransition.value}-transform`}
transitionAppear={false}
/>
) : null}
</>
)
},
})