mirror of
https://github.com/certd/certd.git
synced 2026-05-16 21:27:34 +08:00
Merge branch 'client_sync' into v2
# Conflicts: # packages/ui/certd-client/.env # packages/ui/certd-client/CHANGELOG.md # packages/ui/certd-client/index.html # packages/ui/certd-client/package.json # packages/ui/certd-client/public/images/logo/rect-black.svg # packages/ui/certd-client/public/images/logo/square.svg # packages/ui/certd-client/src/layout/components/theme/index.vue # packages/ui/certd-client/src/layout/layout-framework.vue # packages/ui/certd-client/src/layout/layout-outside.vue # packages/ui/certd-client/src/main.ts # packages/ui/certd-client/src/plugin/fast-crud/index.tsx # packages/ui/certd-client/src/router/source/header.ts # packages/ui/certd-client/src/store/modules/settings.ts # packages/ui/certd-client/src/style/common.less # packages/ui/certd-client/src/views/crud/form/independent/index.vue # packages/ui/certd-client/src/views/framework/login/index.vue # packages/ui/certd-client/src/views/framework/register/index.vue # packages/ui/certd-client/vite.config.ts
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
<div class="d2-page-cover">
|
||||
<div class="d2-page-cover__title">
|
||||
<div class="title-line">
|
||||
<img width="50" src="./image/logo.svg" />
|
||||
FsAdmin v{{ version }}
|
||||
<img width="50" :src="envRef.LOGO_PATH" />
|
||||
{{ envRef.TITLE }} v{{ version }}
|
||||
</div>
|
||||
</div>
|
||||
<p class="d2-page-cover__sub-title">面向配置的crud编程,快速开发crud功能</p>
|
||||
<p class="d2-page-cover__sub-title">{{ envRef.SLOGAN }}</p>
|
||||
<div class="exampleBox">
|
||||
<div class="left">
|
||||
<fs-highlight :code="helperRef.crud" lang="javascript" />
|
||||
@@ -32,16 +32,19 @@
|
||||
import { defineComponent, ref } from "vue";
|
||||
import { useUi } from "@fast-crud/fast-crud";
|
||||
import helper from "./helper";
|
||||
import { env } from "../../../../utils/util.env";
|
||||
export default defineComponent({
|
||||
name: "PageCover",
|
||||
setup() {
|
||||
const version = ref(import.meta.env.VITE_APP_VERSION);
|
||||
const helperRef = ref(helper);
|
||||
const { ui } = useUi();
|
||||
const envRef = ref(env);
|
||||
return {
|
||||
ui,
|
||||
version,
|
||||
helperRef
|
||||
helperRef,
|
||||
envRef
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user