!139 fix(styles/index): Update .el-scrollbar__bar style

Merge pull request !139 from AhJindeg/fix_tab-scrollbar-style
pull/146/MERGE
芋道源码 2023-05-05 11:00:53 +00:00 committed by Gitee
commit 63cb62e697
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 11 additions and 5 deletions

View File

@ -1,6 +1,6 @@
import type { Slots } from 'vue'
import { getSlot } from '@/utils/tsxHelper'
import { PlaceholderMoel } from './types'
import { PlaceholderModel } from './types'
import { FormSchema } from '@/types/form'
import { ColProps } from '@/types/components'
@ -10,7 +10,7 @@ import { ColProps } from '@/types/components'
* @returns
* @description placeholder
*/
export const setTextPlaceholder = (schema: FormSchema): PlaceholderMoel => {
export const setTextPlaceholder = (schema: FormSchema): PlaceholderModel => {
const { t } = useI18n()
const textMap = ['Input', 'Autocomplete', 'InputNumber', 'InputPassword']
const selectMap = ['Select', 'SelectV2', 'TimePicker', 'DatePicker', 'TimeSelect', 'TimeSelect']
@ -108,8 +108,8 @@ export const setItemComponentSlots = (
/**
*
* @param schema Form
* @param formModel FormMoel
* @returns FormMoel
* @param formModel FormModel
* @returns FormModel
* @description formModel
*/
export const initModel = (schema: FormSchema[], formModel: Recordable) => {

View File

@ -1,6 +1,6 @@
import { FormSchema } from '@/types/form'
export interface PlaceholderMoel {
export interface PlaceholderModel {
placeholder?: string
startPlaceholder?: string
endPlaceholder?: string

View File

@ -10,6 +10,12 @@
width: 100% !important;
}
//
.el-scrollbar__bar {
display: flex;
justify-content: flex-start;
}
/* nprogress 适配 element-plus 的主题色 */
#nprogress {
& .bar {