fix
This commit is contained in:
		| @@ -19,7 +19,7 @@ if (isEmbedPage()) { | ||||
| 	const bootOptions: Partial<CommonBootOptions> = {}; | ||||
|  | ||||
| 	const params = new URLSearchParams(location.search); | ||||
| 	const color = params.get('color'); | ||||
| 	const color = params.get('colorMode'); | ||||
| 	if (color && ['light', 'dark'].includes(color)) { | ||||
| 		bootOptions.forceColorMode = color as 'light' | 'dark'; | ||||
| 	} | ||||
|   | ||||
| @@ -52,7 +52,7 @@ provideReactiveMetadata(pageMetadata); | ||||
|  | ||||
| //#region Embed Style | ||||
| const params = new URLSearchParams(location.search); | ||||
| const embedRounded = ref(params.get('rounded') !== '0'); | ||||
| const embedRounded = ref(params.get('rounded') !== 'false'); | ||||
| const maxHeight = ref(params.get('maxHeight') ? parseInt(params.get('maxHeight')!) : 0); | ||||
| //#endregion | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 kakkokari-gtyih
					kakkokari-gtyih