mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-23 12:44:28 +00:00
chore: typo
This commit is contained in:
4
types/global.d.ts
vendored
4
types/global.d.ts
vendored
@@ -7,7 +7,7 @@ import type {
|
|||||||
} from 'vue';
|
} from 'vue';
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
declare interface __APP_INFO__ {
|
const __APP_INFO__: {
|
||||||
pkg: {
|
pkg: {
|
||||||
name: string;
|
name: string;
|
||||||
version: string;
|
version: string;
|
||||||
@@ -15,7 +15,7 @@ declare global {
|
|||||||
devDependencies: Recordable<string>;
|
devDependencies: Recordable<string>;
|
||||||
};
|
};
|
||||||
lastBuildTime: string;
|
lastBuildTime: string;
|
||||||
}
|
};
|
||||||
declare interface Window {
|
declare interface Window {
|
||||||
// Global vue app instance
|
// Global vue app instance
|
||||||
__APP__: App<Element>;
|
__APP__: App<Element>;
|
||||||
|
@@ -13,7 +13,7 @@ import pkg from './package.json';
|
|||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
|
|
||||||
const { dependencies, devDependencies, name, version } = pkg;
|
const { dependencies, devDependencies, name, version } = pkg;
|
||||||
const APP_INFO = {
|
const __APP_INFO__ = {
|
||||||
pkg: { dependencies, devDependencies, name, version },
|
pkg: { dependencies, devDependencies, name, version },
|
||||||
lastBuildTime: moment().format('YYYY-MM-DD HH:mm:ss'),
|
lastBuildTime: moment().format('YYYY-MM-DD HH:mm:ss'),
|
||||||
};
|
};
|
||||||
@@ -67,7 +67,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
|
|||||||
__VUE_I18N_FULL_INSTALL__: false,
|
__VUE_I18N_FULL_INSTALL__: false,
|
||||||
__INTLIFY_PROD_DEVTOOLS__: false,
|
__INTLIFY_PROD_DEVTOOLS__: false,
|
||||||
|
|
||||||
__APP_INFO__: JSON.stringify(APP_INFO),
|
__APP_INFO__: JSON.stringify(__APP_INFO__),
|
||||||
},
|
},
|
||||||
css: {
|
css: {
|
||||||
preprocessorOptions: {
|
preprocessorOptions: {
|
||||||
|
Reference in New Issue
Block a user