feat: 新增 date-picker 组件 type 属性 yearmonth 值

This commit is contained in:
就眠儀式
2022-04-02 04:18:17 +08:00
parent f28e3cbcbf
commit 38f584a374
5 changed files with 47 additions and 29 deletions

View File

@@ -216,7 +216,6 @@ import menu from "../view/utils/menus";
import { useI18n } from "vue-i18n";
import zh_CN from "../locales/zh_CN.ts";
import en_US from "../locales/en_US.ts";
import { getLayuiVueVersion } from "../../../src/utils/getLayuiVueVersion.ts"
export default {
setup() {
@@ -265,10 +264,8 @@ export default {
});
});
const latestVer = getLayuiVueVersion();
const layuiVueVersion = computed(() =>
latestVer.value
?? import.meta.env.LAYUI_VUE_VERSION
import.meta.env.LAYUI_VUE_VERSION
)
watch(isDark, () => {