Commit 5fca9ce2c59767adfbb2f3cab3c52d86df1f3223

Authored by 1sm
Committed by GitHub
1 parent dc4b0527

chore: comment format (#1398)

* fix(modal): 取消全屏功能后关闭图标颜色异常

* chore: move to pnpm

* fix: RangePicekr在表单项中占满分配的宽度

* chore: comment format

* Revert "fix: RangePicekr在表单项中占满分配的宽度"

This reverts commit cd70e41dac294329383be3d2f0a393dc26b7f140.

Co-authored-by: liushiman <smliu@gk-estor.com>
build/vite/plugin/index.ts
... ... @@ -61,12 +61,12 @@ export function createVitePlugins(viteEnv: ViteEnv, isBuild: boolean) {
61 61 // rollup-plugin-visualizer
62 62 vitePlugins.push(configVisualizerConfig());
63 63  
64   - //vite-plugin-theme
  64 + // vite-plugin-theme
65 65 vitePlugins.push(configThemePlugin(isBuild));
66 66  
67 67 // The following plugins only work in the production environment
68 68 if (isBuild) {
69   - //vite-plugin-imagemin
  69 + // vite-plugin-imagemin
70 70 VITE_USE_IMAGEMIN && vitePlugins.push(configImageminPlugin());
71 71  
72 72 // rollup-plugin-gzip
... ...
src/components/CardList/src/data.ts
1 1 import { ref } from 'vue';
2   -//每行个数
  2 +// 每行个数
3 3 export const grid = ref(12);
4 4 // slider属性
5 5 export const useSlider = (min = 6, max = 12) => {
... ...
src/components/Form/src/types/form.ts
... ... @@ -54,9 +54,9 @@ export interface FormProps {
54 54 model?: Recordable;
55 55 // The width of all items in the entire form
56 56 labelWidth?: number | string;
57   - //alignment
  57 + // alignment
58 58 labelAlign?: 'left' | 'right';
59   - //Row configuration for the entire form
  59 + // Row configuration for the entire form
60 60 rowProps?: RowProps;
61 61 // Submit form on reset
62 62 submitOnReset?: boolean;
... ...
src/components/Table/src/hooks/useTableScroll.ts
... ... @@ -91,7 +91,7 @@ export function useTableScroll(
91 91 if (!unref(getCanResize) || tableData.length === 0) return;
92 92  
93 93 await nextTick();
94   - //Add a delay to get the correct bottomIncludeBody paginationHeight footerHeight headerHeight
  94 + // Add a delay to get the correct bottomIncludeBody paginationHeight footerHeight headerHeight
95 95  
96 96 const headEl = tableEl.querySelector('.ant-table-thead ');
97 97  
... ...