refactor: deep link for faq

This commit is contained in:
鲁树人
2025-05-19 09:23:14 +09:00
parent 3ab73d8369
commit 3541af7a96
19 changed files with 300 additions and 149 deletions

View File

@@ -4,7 +4,7 @@ import { InstructionsMac } from './InstructionsMac';
import { InstructionsPC } from './InstructionsPC';
import { InstructionsTabs, InstructionTab } from '~/components/InstructionsTabs.tsx';
export function QMCv2QQMusicAllInstructions() {
export function QMCv2QQMusicAllInstructions({ limitHeight }: { limitHeight?: boolean }) {
const tabs: InstructionTab[] = [
{
id: 'android',
@@ -16,5 +16,5 @@ export function QMCv2QQMusicAllInstructions() {
{ id: 'windows', label: 'Windows', content: <InstructionsPC /> },
];
return <InstructionsTabs tabs={tabs} />;
return <InstructionsTabs tabs={tabs} limitHeight={limitHeight} />;
}