chore: Update project version and theme configuration
This commit is contained in:
parent
7205868368
commit
e193238a54
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "y-code",
|
||||
"version": "0.0.0",
|
||||
"version": "2.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
@ -4,6 +4,9 @@ import { legacyLogicalPropertiesTransformer, StyleProvider, ConfigProvider, them
|
||||
import dayjs from 'dayjs';
|
||||
import 'dayjs/locale/zh-cn';
|
||||
|
||||
const { compactAlgorithm } = theme;
|
||||
|
||||
|
||||
dayjs.locale('zh-cn');
|
||||
|
||||
ConfigProvider.config({
|
||||
@ -14,7 +17,7 @@ ConfigProvider.config({
|
||||
<template>
|
||||
<a-config-provider
|
||||
:theme="{
|
||||
algorithm: theme.compactAlgorithm,
|
||||
algorithm: [ compactAlgorithm],
|
||||
}"
|
||||
:locale="zhCN"
|
||||
:transformers="[legacyLogicalPropertiesTransformer]"
|
||||
|
Loading…
x
Reference in New Issue
Block a user