Browse Source
chore: comment format (#1398)
* fix(modal): 取消全屏功能后关闭图标颜色异常
* chore: move to pnpm
* fix: RangePicekr在表单项中占满分配的宽度
* chore: comment format
* Revert "fix: RangePicekr在表单项中占满分配的宽度"
This reverts commit cd70e41dac.
Co-authored-by: liushiman <smliu@gk-estor.com>
pull/1432/head
1sm
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
6 additions and
6 deletions
-
build/vite/plugin/index.ts
-
src/components/CardList/src/data.ts
-
src/components/Form/src/types/form.ts
-
src/components/Table/src/hooks/useTableScroll.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
|
|
|
|
|
|
|
|
@ -1,5 +1,5 @@ |
|
|
|
import { ref } from 'vue'; |
|
|
|
//每行个数
|
|
|
|
// 每行个数
|
|
|
|
export const grid = ref(12); |
|
|
|
// slider属性
|
|
|
|
export const useSlider = (min = 6, max = 12) => { |
|
|
|
|
|
|
|
@ -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; |
|
|
|
|
|
|
|
@ -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 '); |
|
|
|
|
|
|
|
|