fix(table): make sure the editing line is working, fix #439

This commit is contained in:
Vben
2021-04-01 00:52:31 +08:00
parent 8a14069e71
commit b54b794264
14 changed files with 196 additions and 53 deletions

View File

@@ -9,6 +9,13 @@ import { createAlias } from './build/vite/alias';
import { wrapperEnv } from './build/utils';
import { createVitePlugins } from './build/vite/plugin';
import { OUTPUT_DIR } from './build/constant';
import pkg from './package.json';
import moment from 'moment';
const APP_INFO = {
pkg,
lastBuildTime: moment().format('YYYY-MM-DD HH:mm:ss'),
};
export default ({ command, mode }: ConfigEnv): UserConfig => {
const root = process.cwd();
@@ -58,6 +65,8 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
__VUE_I18N_LEGACY_API__: false,
__VUE_I18N_FULL_INSTALL__: false,
__INTLIFY_PROD_DEVTOOLS__: false,
__APP_INFO__: JSON.stringify(APP_INFO),
},
css: {
preprocessorOptions: {