fix
This commit is contained in:
parent
59477b4a54
commit
be15242bf6
|
@ -125,7 +125,7 @@ function ok() {
|
||||||
// 本URL生成用params
|
// 本URL生成用params
|
||||||
const paramsForUrl = computed<EmbedParams>(() => ({
|
const paramsForUrl = computed<EmbedParams>(() => ({
|
||||||
header: header.value === true ? undefined : header.value,
|
header: header.value === true ? undefined : header.value,
|
||||||
autoload: autoload.value === true ? undefined : autoload.value,
|
autoload: autoload.value === false ? undefined : autoload.value,
|
||||||
maxHeight: typeof maxHeight.value === 'number' ? Math.max(0, maxHeight.value) : undefined,
|
maxHeight: typeof maxHeight.value === 'number' ? Math.max(0, maxHeight.value) : undefined,
|
||||||
colorMode: colorMode.value === 'auto' ? undefined : colorMode.value,
|
colorMode: colorMode.value === 'auto' ? undefined : colorMode.value,
|
||||||
rounded: rounded.value === true ? undefined : rounded.value,
|
rounded: rounded.value === true ? undefined : rounded.value,
|
||||||
|
|
Loading…
Reference in New Issue