diff --git a/build/vite/plugin/index.ts b/build/vite/plugin/index.ts index 9c0924a0d..93a2c00f8 100644 --- a/build/vite/plugin/index.ts +++ b/build/vite/plugin/index.ts @@ -61,12 +61,12 @@ export function createVitePlugins(viteEnv: ViteEnv, isBuild: boolean) { // rollup-plugin-visualizer vitePlugins.push(configVisualizerConfig()); - //vite-plugin-theme + // vite-plugin-theme vitePlugins.push(configThemePlugin(isBuild)); // The following plugins only work in the production environment if (isBuild) { - //vite-plugin-imagemin + // vite-plugin-imagemin VITE_USE_IMAGEMIN && vitePlugins.push(configImageminPlugin()); // rollup-plugin-gzip diff --git a/src/components/CardList/src/data.ts b/src/components/CardList/src/data.ts index ac56cad91..b7c4be78c 100644 --- a/src/components/CardList/src/data.ts +++ b/src/components/CardList/src/data.ts @@ -1,5 +1,5 @@ import { ref } from 'vue'; -//每行个数 +// 每行个数 export const grid = ref(12); // slider属性 export const useSlider = (min = 6, max = 12) => { diff --git a/src/components/Form/src/types/form.ts b/src/components/Form/src/types/form.ts index ac85a74f2..8415b03c6 100644 --- a/src/components/Form/src/types/form.ts +++ b/src/components/Form/src/types/form.ts @@ -54,9 +54,9 @@ export interface FormProps { model?: Recordable; // The width of all items in the entire form labelWidth?: number | string; - //alignment + // alignment labelAlign?: 'left' | 'right'; - //Row configuration for the entire form + // Row configuration for the entire form rowProps?: RowProps; // Submit form on reset submitOnReset?: boolean; diff --git a/src/components/Table/src/hooks/useTableScroll.ts b/src/components/Table/src/hooks/useTableScroll.ts index dd1014244..a8969da1a 100644 --- a/src/components/Table/src/hooks/useTableScroll.ts +++ b/src/components/Table/src/hooks/useTableScroll.ts @@ -91,7 +91,7 @@ export function useTableScroll( if (!unref(getCanResize) || tableData.length === 0) return; await nextTick(); - //Add a delay to get the correct bottomIncludeBody paginationHeight footerHeight headerHeight + // Add a delay to get the correct bottomIncludeBody paginationHeight footerHeight headerHeight const headEl = tableEl.querySelector('.ant-table-thead ');