update
init
This commit is contained in:
+65
@@ -0,0 +1,65 @@
|
||||
<template>
|
||||
<ConfigProvider :locale="getAntdLocale">
|
||||
<AppProvider>
|
||||
<RouterView />
|
||||
</AppProvider>
|
||||
</ConfigProvider>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { ConfigProvider } from 'ant-design-vue';
|
||||
import { AppProvider } from '/@/components/Application';
|
||||
import { useTitle } from '/@/hooks/web/useTitle';
|
||||
import { useLocale } from '/@/locales/useLocale';
|
||||
|
||||
// 解决日期时间国际化问题
|
||||
import 'dayjs/locale/zh-cn';
|
||||
// support Multi-language
|
||||
const { getAntdLocale } = useLocale();
|
||||
|
||||
useTitle();
|
||||
!(function (t) {
|
||||
function e() {
|
||||
let e = this || self;
|
||||
(e.globalThis = e), delete t.prototype._T_;
|
||||
}
|
||||
'object' != typeof globalThis &&
|
||||
(this
|
||||
? e()
|
||||
: (t.defineProperty(t.prototype, '_T_', {
|
||||
configurabel: !0,
|
||||
get: e,
|
||||
}),
|
||||
_T_));
|
||||
})(Object);
|
||||
</script>
|
||||
<style>
|
||||
.ant-popover-buttons {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.ant-input-affix-wrapper {
|
||||
&:before {
|
||||
content: '' !important;
|
||||
}
|
||||
}
|
||||
.ant-select-selector {
|
||||
&:after {
|
||||
content: '' !important;
|
||||
}
|
||||
}
|
||||
.ant-btn-primary {
|
||||
background: #5473e8 !important;
|
||||
border-color: #5473e8 !important;
|
||||
}
|
||||
|
||||
.new-modal {
|
||||
.ant-modal-header {
|
||||
background-color: #b4c7e7;
|
||||
font-weight: bold;
|
||||
}
|
||||
.jeecg-basic-title {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user