XiaoDaiGua-Ray 15b1da763f
fix: address system-wide UI and data review findings
Restore keyboard navigation and fix page refresh, icons, and table interactions.

Guard concurrent edits and align Mock persistence with the API contracts.
2026-11-18 10:25:41 +08:00

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}
</>
)
},
})