mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2026-11-22 03:23:35 +08:00
Restore keyboard navigation and fix page refresh, icons, and table interactions. Guard concurrent edits and align Mock persistence with the API contracts.
26 lines
864 B
TypeScript
26 lines
864 B
TypeScript
import AppRequestCancelerProvider from '@/app-components/provider/AppRequestCancelerProvider'
|
|
import { RTransitionComponent } from '@/components/RTransitionComponent'
|
|
import { useRuntimeGetters, useSettingGetters } from '@/store'
|
|
|
|
export default defineComponent({
|
|
name: 'LayoutContentWrapper',
|
|
setup() {
|
|
const { globalMainLayoutLoad, refreshingPath } = useRuntimeGetters()
|
|
const { getContentTransition } = useSettingGetters()
|
|
|
|
return () => (
|
|
<>
|
|
<AppRequestCancelerProvider />
|
|
{globalMainLayoutLoad.value || refreshingPath.value !== null ? (
|
|
<RTransitionComponent
|
|
class="content-wrapper"
|
|
transitionPropName={`${getContentTransition.value}-transform`}
|
|
transitionAppear={false}
|
|
refreshingPath={refreshingPath.value}
|
|
/>
|
|
) : null}
|
|
</>
|
|
)
|
|
},
|
|
})
|