chore(projects): correct word spell & eslint fix code

This commit is contained in:
Soybean
2023-08-03 23:59:00 +08:00
parent 24cf1d9284
commit cffc30afa3
8 changed files with 49 additions and 14 deletions

View File

@ -37,13 +37,13 @@ const bindAttrs = computed<{ class: string; style: string }>(() => ({
}));
const symbolId = computed(() => {
const { VITE_ICON_LOCAL_PREFIX: preffix } = import.meta.env;
const { VITE_ICON_LOCAL_PREFIX: prefix } = import.meta.env;
const defaultLocalIcon = 'no-icon';
const icon = props.localIcon || defaultLocalIcon;
return `#${preffix}-${icon}`;
return `#${prefix}-${icon}`;
});
/** 渲染本地icon */