diff --git a/src/component/select/index.vue b/src/component/select/index.vue index e0b1585..6d11932 100644 --- a/src/component/select/index.vue +++ b/src/component/select/index.vue @@ -44,7 +44,7 @@ export interface SelectProps { showSearch?: boolean; contentClass?: string | Array | object; contentStyle?: StyleValue; - position?:string; + position?: string; } export interface SelectEmits { @@ -62,7 +62,7 @@ const props = withDefaults(defineProps(), { disabled: false, multiple: false, size: "md", - position:"top" + position: "top", }); const slots = useSlots(); diff --git a/src/component/slider/Standard.vue b/src/component/slider/Standard.vue index 14d3598..368bce8 100644 --- a/src/component/slider/Standard.vue +++ b/src/component/slider/Standard.vue @@ -17,7 +17,7 @@ export interface StandardProps { min?: number; max?: number; showDots?: boolean; - backgroundColor:string; + backgroundColor: string; } const props = withDefaults(defineProps(), { @@ -27,7 +27,7 @@ const props = withDefaults(defineProps(), { min: 0, max: 100, showDots: false, - backgroundColor:"#ccc" + backgroundColor: "#ccc", }); const moveAction = throttle(standardMove); @@ -119,9 +119,12 @@ const focusDot = (val: number) => { class="layui-slider-rate-v" :class="[disabled ? 'layui-slider-disabled disable-line' : '']" > -
+
(), { min: 0, max: 100, showDots: false, - backgroundColor:"#ccc" + backgroundColor: "#ccc", }); let rangeValues: Ref | any = toRef(props, "rangeValue"); diff --git a/src/component/table/index.vue b/src/component/table/index.vue index 8e379a5..11179d5 100644 --- a/src/component/table/index.vue +++ b/src/component/table/index.vue @@ -73,13 +73,13 @@ const props = withDefaults(defineProps(), { rowStyle: "", cellStyle: "", defaultExpandAll: false, - spanMethod: () => { }, + spanMethod: () => {}, expandKeys: () => [], loading: false, - getCheckboxProps: () => { }, - getRadioProps: () => { }, + getCheckboxProps: () => {}, + getRadioProps: () => {}, download: "", - serverpage: false + serverpage: false, }); const emit = defineEmits([ @@ -367,7 +367,6 @@ const change = function (page: any) { page.limit * page.current ); } - }; const rowClick = function (data: any, evt: MouseEvent) { @@ -836,27 +835,50 @@ window.addEventListener("click", heddin);
- +
-
+
-
+
@@ -868,26 +890,47 @@ window.addEventListener("click", heddin);
-
+
- +
-