chore: update

This commit is contained in:
xiaoxian521 2024-04-17 15:25:22 +08:00
parent 34ed020328
commit cd8f5137f7

View File

@ -147,18 +147,20 @@ function setFalse(Doms): any {
} }
/** 页宽 */ /** 页宽 */
const stretchTypeOptions: Array<OptionsType> = [ const stretchTypeOptions = computed<Array<OptionsType>>(() => {
{ return [
label: t("panel.pureStretchFixed"), {
tip: t("panel.pureStretchFixedTip"), label: t("panel.pureStretchFixed"),
value: "fixed" tip: t("panel.pureStretchFixedTip"),
}, value: "fixed"
{ },
label: t("panel.pureStretchCustom"), {
tip: t("panel.pureStretchCustomTip"), label: t("panel.pureStretchCustom"),
value: "custom" tip: t("panel.pureStretchCustomTip"),
} value: "custom"
]; }
];
});
const setStretch = value => { const setStretch = value => {
settings.stretch = value; settings.stretch = value;
@ -219,18 +221,20 @@ const themeOptions = computed<Array<OptionsType>>(() => {
]; ];
}); });
const markOptions: Array<OptionsType> = [ const markOptions = computed<Array<OptionsType>>(() => {
{ return [
label: t("panel.pureTagsStyleSmart"), {
tip: t("panel.pureTagsStyleSmartTip"), label: t("panel.pureTagsStyleSmart"),
value: "smart" tip: t("panel.pureTagsStyleSmartTip"),
}, value: "smart"
{ },
label: t("panel.pureTagsStyleCard"), {
tip: t("panel.pureTagsStyleCardTip"), label: t("panel.pureTagsStyleCard"),
value: "card" tip: t("panel.pureTagsStyleCardTip"),
} value: "card"
]; }
];
});
/** 设置导航模式 */ /** 设置导航模式 */
function setLayoutModel(layout: string) { function setLayoutModel(layout: string) {