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>
This commit is contained in:
parent
dc4b05272f
commit
5fca9ce2c5
|
|
@ -61,12 +61,12 @@ export function createVitePlugins(viteEnv: ViteEnv, isBuild: boolean) {
|
||||||
// rollup-plugin-visualizer
|
// rollup-plugin-visualizer
|
||||||
vitePlugins.push(configVisualizerConfig());
|
vitePlugins.push(configVisualizerConfig());
|
||||||
|
|
||||||
//vite-plugin-theme
|
// vite-plugin-theme
|
||||||
vitePlugins.push(configThemePlugin(isBuild));
|
vitePlugins.push(configThemePlugin(isBuild));
|
||||||
|
|
||||||
// The following plugins only work in the production environment
|
// The following plugins only work in the production environment
|
||||||
if (isBuild) {
|
if (isBuild) {
|
||||||
//vite-plugin-imagemin
|
// vite-plugin-imagemin
|
||||||
VITE_USE_IMAGEMIN && vitePlugins.push(configImageminPlugin());
|
VITE_USE_IMAGEMIN && vitePlugins.push(configImageminPlugin());
|
||||||
|
|
||||||
// rollup-plugin-gzip
|
// rollup-plugin-gzip
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { ref } from 'vue';
|
import { ref } from 'vue';
|
||||||
//每行个数
|
// 每行个数
|
||||||
export const grid = ref(12);
|
export const grid = ref(12);
|
||||||
// slider属性
|
// slider属性
|
||||||
export const useSlider = (min = 6, max = 12) => {
|
export const useSlider = (min = 6, max = 12) => {
|
||||||
|
|
|
||||||
|
|
@ -54,9 +54,9 @@ export interface FormProps {
|
||||||
model?: Recordable;
|
model?: Recordable;
|
||||||
// The width of all items in the entire form
|
// The width of all items in the entire form
|
||||||
labelWidth?: number | string;
|
labelWidth?: number | string;
|
||||||
//alignment
|
// alignment
|
||||||
labelAlign?: 'left' | 'right';
|
labelAlign?: 'left' | 'right';
|
||||||
//Row configuration for the entire form
|
// Row configuration for the entire form
|
||||||
rowProps?: RowProps;
|
rowProps?: RowProps;
|
||||||
// Submit form on reset
|
// Submit form on reset
|
||||||
submitOnReset?: boolean;
|
submitOnReset?: boolean;
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@ export function useTableScroll(
|
||||||
if (!unref(getCanResize) || tableData.length === 0) return;
|
if (!unref(getCanResize) || tableData.length === 0) return;
|
||||||
|
|
||||||
await nextTick();
|
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 ');
|
const headEl = tableEl.querySelector('.ant-table-thead ');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue