diff --git a/example/docs/zh-CN/guide/changelog.md b/example/docs/zh-CN/guide/changelog.md index 9e734bd3..87d12988 100644 --- a/example/docs/zh-CN/guide/changelog.md +++ b/example/docs/zh-CN/guide/changelog.md @@ -16,8 +16,9 @@
  • 0.4.3 2022-03-27

  • diff --git a/src/component/datePicker/day.ts b/src/component/datePicker/day.ts index f90add57..ac142fd6 100644 --- a/src/component/datePicker/day.ts +++ b/src/component/datePicker/day.ts @@ -24,11 +24,11 @@ const getYear = () => { }; /** - * 获取当前月份 + * 获取当前月份 */ const getMonth = () => { return getDate().getMonth(); -} +}; /** * 获取月份天数 diff --git a/src/component/datePicker/index.vue b/src/component/datePicker/index.vue index 8ca615a2..fd4944bd 100644 --- a/src/component/datePicker/index.vue +++ b/src/component/datePicker/index.vue @@ -247,7 +247,20 @@ import { getDayLength, getYears, getDate, getMonth, getYear } from "./day"; const $emits = defineEmits(["update:modelValue"]); const WEEK_NAME = ["日", "一", "二", "三", "四", "五", "六"]; -const MONTH_NAME = ["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]; +const MONTH_NAME = [ + "1月", + "2月", + "3月", + "4月", + "5月", + "6月", + "7月", + "8月", + "9月", + "10月", + "11月", + "12月", +]; const hms = ref({ hh: "00", mm: "00", ss: "00" }); const els = [ diff --git a/src/component/input/index.less b/src/component/input/index.less index 5c14b242..a988a0b4 100644 --- a/src/component/input/index.less +++ b/src/component/input/index.less @@ -21,6 +21,8 @@ .layui-input-wrapper { width: 100%; + height: 38px; + line-height: 38px; border-width: 1px; border-style: solid; display: inline-flex;